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) { public static String innerLinkReplaceEach(String path) {
return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, "."}, return StringUtils.replaceEach(path, new String[]{Constants.HTTP, Constants.HTTPS, Constants.WWW, ".", ":"},
new String[]{"", "", "", "/"}); new String[]{"", "", "", "/", "/"});
} }
} }

Loading…
Cancel
Save