ソースを参照

GagaXssServletFilter -> TscXssServletFilter, GagaServletRequestWrapper
-> TscServletRequestWrapper 로 변경

gagamel 5 年 前
コミット
0faa13c2f0

+ 3 - 1
src/main/java/com/style24/scm/support/config/TssWebMvcConfig.java

@@ -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;