Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
finance-manage
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finance-oa
finance-manage
Commits
e41dd8a0
Commit
e41dd8a0
authored
Nov 19, 2021
by
若依
Committed by
Gitee
Nov 19, 2021
Browse files
Options
Browse Files
Download
Plain Diff
!370 fix 修复关闭 xss 功能导致可重复读 RepeatableFilter 失效
Merge pull request !370 from 疯狂的狮子Li/master
parents
fcf606ac
9a7bb81c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/FilterConfig.java
...rc/main/java/com/ruoyi/framework/config/FilterConfig.java
+1
-1
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/config/FilterConfig.java
View file @
e41dd8a0
...
...
@@ -18,7 +18,6 @@ import com.ruoyi.common.utils.StringUtils;
* @author ruoyi
*/
@Configuration
@ConditionalOnProperty
(
value
=
"xss.enabled"
,
havingValue
=
"true"
)
public
class
FilterConfig
{
@Value
(
"${xss.excludes}"
)
...
...
@@ -29,6 +28,7 @@ public class FilterConfig
@SuppressWarnings
({
"rawtypes"
,
"unchecked"
})
@Bean
@ConditionalOnProperty
(
value
=
"xss.enabled"
,
havingValue
=
"true"
)
public
FilterRegistrationBean
xssFilterRegistration
()
{
FilterRegistrationBean
registration
=
new
FilterRegistrationBean
();
...
...
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