Browse Source

Xss 过滤器

master
yaoq 2 years ago
parent
commit
348dc1a11f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/filter/XssSecurityConfig.java

+ 1
- 1
smtweb-framework/core/src/main/java/cc/smtweb/framework/core/mvc/filter/XssSecurityConfig.java View File

@@ -59,7 +59,7 @@ public class XssSecurityConfig implements InitializingBean {

@Override
public void afterPropertiesSet() throws Exception {
if (regex == null || regex.size() == 0) {
if (!initSuccess()) {
return;
}
StringBuffer tempStr = new StringBuffer("^");


Loading…
Cancel
Save