mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-20 02:59:16 +00:00
fix 修复 内链域名特殊字符替换 合并错误导致问题
This commit is contained in:
@@ -444,11 +444,9 @@ public class SysMenuServiceImpl implements ISysMenuService {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 内链域名特殊字符替换
|
* 内链域名特殊字符替换
|
||||||
*
|
|
||||||
* @return
|
|
||||||
*/
|
*/
|
||||||
public String innerLinkReplaceEach(String path) {
|
public 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[]{"", "", "", "/"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user