db/8297 has some payload tests we can use against new sanitizers.  Don't need 
to keep that test suite forever, probably keep some of it though.  It uses 
`html5lib` which can be good for comparison during a change, but don't want to 
keep it as a dep forever, we're trying to get rid of it!


---

**[tickets:#8297] Consider changing from html5lib sanitizer**

**Status:** open
**Milestone:** unreleased
**Created:** Wed Jun 05, 2019 02:34 PM UTC by Dave Brondsema
**Last Updated:** Mon Jul 06, 2026 04:57 PM UTC
**Owner:** nobody


html5lib hasn't had a lot of activity or releases for a while.  bleach is no 
longer maintained either

We have customized behavior with our `ForgeHTMLSanitizerFilter` class, so it'll 
take careful work to make sure the right logic is still applied.

https://nh3.readthedocs.io/ is a popular successor

https://turbohtml.readthedocs.io/ is a very new alternative


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to