ESAPI / esapi-java-legacy

ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library that makes it easier for programmers to write lower-risk applications.
https://owasp.org/www-project-enterprise-security-api/
Other
598 stars 363 forks source link

Context should also be logged in HTMLValidationRule #793

Open kwwall opened 11 months ago

kwwall commented 11 months ago

On line 247 of HTMLValidationRule.java, the 'context' argument should be added to what is logged.

Is your feature request related to a problem? Please describe. No; but the 'context' argument should be logged for consistency with the exceptions that are thrown as a well as a way to aid debugging.