[英]Log forging except OWASP ESAPI in java
Is there any other way through which we can prevent log forging except ESAPI in java?除了Java中的ESAPI,还有其他方法可以防止日志伪造吗? I am using Lombok slf4j annotation
我正在使用 Lombok slf4j 注释
Try to replace your message with尝试将您的消息替换为
message.replaceAll("\n", "\\n").replaceAll("\r", "\\r")
.replaceAll("\t", "\\t");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.