sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radu Cotescu (Jira)" <j...@apache.org>
Subject [jira] [Created] (SLING-8857) Lower the log level for validation errors in org.apache.sling.xss.impl.XSSFilterImpl#runHrefValidation
Date Fri, 22 Nov 2019 14:23:00 GMT
Radu Cotescu created SLING-8857:
-----------------------------------

             Summary: Lower the log level for validation errors in org.apache.sling.xss.impl.XSSFilterImpl#runHrefValidation
                 Key: SLING-8857
                 URL: https://issues.apache.org/jira/browse/SLING-8857
             Project: Sling
          Issue Type: Bug
          Components: XSS Protection API
    Affects Versions: XSS Protection API 2.1.16
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: XSS Protection API 2.1.18


When falling back to simpler regular expressions to validate URLs, the current log level is
{{WARN}}, which is too high. This should be set to {{DEBUG}} and a {{WARN}} should be logged
only if the URL cannot be validated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message