Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8857

Lower the log level for validation errors in org.apache.sling.xss.impl.XSSFilterImpl#runHrefValidation

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: