SLING-8775 - java.lang.StackOverflowError in XSSAPIImpl.getValidHref for long URLs

* added fallback to using the regexes before SLING-7741 in case a StackOverflowError is encountered
2 files changed
tree: 9a33913182b4d567c4d1570151fc54b8e46bafde
  1. src/
  2. .gitignore
  3. CODE_OF_CONDUCT.md
  4. CONTRIBUTING.md
  5. Jenkinsfile
  6. LICENSE
  7. pom.xml
  8. README.md
README.md

Build Status Test Status Maven Central JavaDocs License

Apache Sling XSS Protection

This module is part of the Apache Sling project.

The Apache Sling XSS Bundle provides two services for escaping and filtering XSS-prone user submitted content:

  1. org.apache.sling.xss.XSSAPI
  2. org.apache.sling.xss.XSSFilter

Please check the JavaDoc of each service to find out what methods they provide.