Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
sts网站
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyang
sts网站
Commits
8cf8c8ac
Commit
8cf8c8ac
authored
Nov 07, 2023
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复外链带端口出现的异常(I86J4B)
parent
d8255edf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
StringUtils.java
...mon/src/main/java/com/ruoyi/common/utils/StringUtils.java
+1
-1
SysMenuServiceImpl.java
...ava/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
+2
-2
No files found.
ruoyi-common/src/main/java/com/ruoyi/common/utils/StringUtils.java
View file @
8cf8c8ac
...
...
@@ -239,7 +239,7 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils
return
str
.
substring
(
start
,
end
);
}
/**
* 判断是否为空,并且不是空白字符
*
...
...
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
View file @
8cf8c8ac
...
...
@@ -525,7 +525,7 @@ public class SysMenuServiceImpl implements ISysMenuService
*/
public
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
[]
{
""
,
""
,
""
,
"/"
,
"/"
});
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment