mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	!370 fix 修复关闭 xss 功能导致可重复读 RepeatableFilter 失效
Merge pull request !370 from 疯狂的狮子Li/master
This commit is contained in:
		@@ -18,7 +18,6 @@ import com.ruoyi.common.utils.StringUtils;
 | 
			
		||||
 * @author ruoyi
 | 
			
		||||
 */
 | 
			
		||||
@Configuration
 | 
			
		||||
@ConditionalOnProperty(value = "xss.enabled", havingValue = "true")
 | 
			
		||||
public class FilterConfig
 | 
			
		||||
{
 | 
			
		||||
    @Value("${xss.excludes}")
 | 
			
		||||
@@ -29,6 +28,7 @@ public class FilterConfig
 | 
			
		||||
 | 
			
		||||
    @SuppressWarnings({ "rawtypes", "unchecked" })
 | 
			
		||||
    @Bean
 | 
			
		||||
    @ConditionalOnProperty(value = "xss.enabled", havingValue = "true")
 | 
			
		||||
    public FilterRegistrationBean xssFilterRegistration()
 | 
			
		||||
    {
 | 
			
		||||
        FilterRegistrationBean registration = new FilterRegistrationBean();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user