OWASP Java HTML Sanitizer
Choose which HTML tags a Java app is allowed to display from submitted content.
OWASP · Web and apps
GitHub projectOpen source Open on GitHubHow to try it
Add com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:20261110.1 to a small Java project. Clean a fixture fragment with a short allowed list and inspect the remaining formatting.
What we tested
20261110.1. Clean a fixture fragment with a short allowed list and inspect the remaining formatting. Preserved the chosen markup and excluded the fixture tag outside the policy.
Reviews
Rate this repoMore to explore
- cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
- h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
- Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source