fix 修复 外链带端口出现的异常

master
疯狂的狮子Li 2 years ago
parent 323c290ee9
commit 213cc8a3aa

@ -185,7 +185,7 @@ public class SysMenu extends BaseEntity {
*
*/
public static String innerLinkReplaceEach(String path) {
return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, "."},
new String[]{"", "", "", "/"});
return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, ".", ":"},
new String[]{"", "", "", "/", "/"});
}
}

Loading…
Cancel
Save