Radu Cotescu created SLING-7801:
-----------------------------------

             Summary: Optimise AntiSamy logging for null input in 
org.apache.sling.xss.impl.HtmlToHtmlContentContext
                 Key: SLING-7801
                 URL: https://issues.apache.org/jira/browse/SLING-7801
             Project: Sling
          Issue Type: Bug
          Components: Extensions
    Affects Versions: XSS Protection API 2.0.6
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: XSS Protection API 2.0.12


AntiSamy throws exceptions when scanning null input. Although the exceptions 
are handled correctly, they have the potential to fill up the logs. A null 
check is better suited in this case, so that the only thrown exceptions are in 
case there's a real scan / policy issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to