mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	修正定时任务日志权限字符
This commit is contained in:
		@@ -41,8 +41,7 @@ public class IpUtils
 | 
			
		||||
        {
 | 
			
		||||
            ip = request.getRemoteAddr();
 | 
			
		||||
        }
 | 
			
		||||
        ip = EscapeUtil.clean(ip);// 清除Xss特殊字符
 | 
			
		||||
        return "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : ip;
 | 
			
		||||
        return "0:0:0:0:0:0:0:1".equals(ip) ? "127.0.0.1" : EscapeUtil.clean(ip);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public static boolean internalIp(String ip)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user