mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	fix xss请求Wrapper getAttribute方法 问题修复
This commit is contained in:
		| @@ -64,7 +64,7 @@ public class XssRequestWrapper extends HttpServletRequestWrapper { | |||||||
|     public Object getAttribute(String name) { |     public Object getAttribute(String name) { | ||||||
|         Object value = super.getAttribute(name); |         Object value = super.getAttribute(name); | ||||||
|         if (value instanceof String) { |         if (value instanceof String) { | ||||||
|             xssCleaner.clean((String) value); |             return xssCleaner.clean((String) value); | ||||||
|         } |         } | ||||||
|         return value; |         return value; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zhangxingjia
					zhangxingjia