|
|
@@ -16,8 +16,8 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
import com.style24.admin.support.interceptor.TsaDefaultInterceptor;
|
|
|
import com.style24.admin.support.interceptor.TsaPosInterceptor;
|
|
|
import com.style24.admin.support.readable.TsaRequestFilter;
|
|
|
+import com.style24.core.support.filter.TscXssServletFilter;
|
|
|
|
|
|
-import com.gagaframework.web.core.filter.GagaXssServletFilter;
|
|
|
import com.gagaframework.web.rest.client.GagaRequestStringTrim;
|
|
|
|
|
|
/**
|
|
|
@@ -84,7 +84,8 @@ public class TsaWebMvcConfig 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;
|