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

2.X
疯狂的狮子Li 1 year ago
parent 93b9d55640
commit 9a88556709

@ -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