Commit 7161b213 authored by sgjj's avatar sgjj

xss

parent aa2d8ac1
......@@ -150,7 +150,8 @@ public class WebConfig implements WebMvcConfigurer {
FilterRegistrationBean registration = new FilterRegistrationBean(xssFilter);
xssFilter.excludes.add(".*file/upload.do");
xssFilter.excludes.add(".*/jsp/editor.do");
registration.addUrlPatterns("/**");
xssFilter.excludes.add("/");
registration.addUrlPatterns("/*");
return registration;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment