由于日志注入的可能性,我在项目中包括了ESAPI。
我唯一用它做的事情是这样的:
message = message.replace("\n", ERROR_MESS)
.replace("\r", ERROR_MESS)
.replace("\t", ERROR_MESS);
message = ESAPI.encoder().encodeForHTML(message);然而,我得到了大量的日志显示,如:
ESAPI: WARNING: System property [org.owasp.esapi.opsteam] is not set
ESAPI: WARNING: System property [org.owasp.esapi.devteam] is not set
...我有两个问题:
发布于 2020-04-13 22:39:40
validation.properties或esapi.properties.,ESAPI将不会加载,这是由设计完成的。我是esapi-java项目的联合负责人。
https://stackoverflow.com/questions/61103865
复制相似问题