Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
a195df17
Commit
a195df17
authored
Jun 18, 2020
by
RuoYi
Browse files
修正定时任务日志权限字符
parent
48ba7d5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-ui/src/views/monitor/job/log.vue
View file @
a195df17
...
...
@@ -87,7 +87,7 @@
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
v-hasPermi=
"['monitor:job
Log
:export']"
v-hasPermi=
"['monitor:job:export']"
>
导出
</el-button>
</el-col>
</el-row>
...
...
ruoyi/src/main/java/com/ruoyi/common/utils/ip/IpUtils.java
View file @
a195df17
...
...
@@ -41,8 +41,7 @@ public class IpUtils
{
ip
=
request
.
getRemoteAddr
();
}
ip
=
EscapeUtil
.
clean
(
ip
);
// 清除Xss特殊字符
return
"0:0:0:0:0:0:0:1"
.
equals
(
ip
)
?
"127.0.0.1"
:
ip
;
return
"0:0:0:0:0:0:0:1"
.
equals
(
ip
)
?
"127.0.0.1"
:
EscapeUtil
.
clean
(
ip
);
}
public
static
boolean
internalIp
(
String
ip
)
...
...
Write
Preview
Supports
Markdown
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