|
|
@@ -13,6 +13,7 @@ import org.springframework.web.multipart.support.MultipartFilter;
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
|
|
+import com.style24.core.support.filter.TscXssServletFilter;
|
|
|
import com.style24.scm.support.interceptor.TssDefaultInterceptor;
|
|
|
|
|
|
import com.gagaframework.web.core.filter.GagaXssServletFilter;
|
|
|
@@ -60,7 +61,8 @@ public class TssWebMvcConfig implements WebMvcConfigurer {
|
|
|
@Bean
|
|
|
public FilterRegistrationBean xssFilterRegistrationBean() {
|
|
|
FilterRegistrationBean bean = new FilterRegistrationBean();
|
|
|
- bean.setFilter(new GagaXssServletFilter());
|
|
|
+// bean.setFilter(new GagaXssServletFilter());
|
|
|
+ bean.setFilter(new TscXssServletFilter());
|
|
|
bean.setOrder(2);
|
|
|
bean.addUrlPatterns("/*");
|
|
|
return bean;
|