How to get the filter result and provide end user which tag or properties are disallowed?

54 views
Skip to first unread message

乡下人

unread,
Dec 24, 2015, 10:39:52 PM12/24/15
to OWASP Java HTML Sanitizer Support
When I use the HTML Sanitizer, I didn't find a way to provide a friendly prompt to end user to let them know which tags or properties are allowed or disallowed
How to do?

Mike Samuel

unread,
Dec 24, 2015, 11:40:05 PM12/24/15
to owasp-java-html-...@googlegroups.com
The HtmlChangeListener should give you the hooks you need.

http://static.javadoc.io/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer/20151202.2/org/owasp/html/HtmlChangeListener.html
> --
> You received this message because you are subscribed to the Google Groups
> "OWASP Java HTML Sanitizer Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to owasp-java-html-saniti...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages