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

2.X
疯狂的狮子Li 2023-11-07 12:58:51 +08:00
parent 93b9d55640
commit 9a88556709
1 changed files with 2 additions and 2 deletions

View File

@ -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[]{"", "", "", "/", "/"});
}
}