[Owasp-antisamy] Configure the allowed empty tags

Paul Curren pcurren at atlassian.com
Thu Jul 8 06:38:07 EDT 2010


Hi there.

I have a slightly customised XHTML content that I want to protect with AntiSamy. I have few new tags for representing certain things and some of these are empty tags. Right now only the list of tags in Constants.allowedEmptyTags are preserved if empty.

What are your thoughts about making this list configurable? Perhaps in the policy file?

If that sounds like a reasonable idea to you, would the AntiSamy project accept a patch from me? :-)

Cheers,

Paul C


More information about the Owasp-antisamy mailing list