疯狂的狮子li
2021-07-12 d30ba9d52e81d7489c8c90aa7c43741220785487
ruoyi-framework/src/main/java/com/ruoyi/framework/config/FilterConfig.java
@@ -30,7 +30,7 @@
        FilterRegistrationBean registration = new FilterRegistrationBean();
        registration.setDispatcherTypes(DispatcherType.REQUEST);
        registration.setFilter(new XssFilter());
        registration.addUrlPatterns(StrUtil.split(xssProperties.getUrlPatterns(), ","));
        registration.addUrlPatterns(StrUtil.splitToArray(xssProperties.getUrlPatterns(), ","));
        registration.setName("xssFilter");
        registration.setOrder(FilterRegistrationBean.HIGHEST_PRECEDENCE);
        Map<String, String> initParameters = new HashMap<String, String>();