This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
OWASP Java HTML Sanitizer/Roadmap
From OWASP
Revision as of 19:45, 16 March 2011 by Paulo Coimbra (talk | contribs) (Created page with "We are currently at Alpha right now - but will be production ready and soon. Sample programmatic policy example: // A VERY SIMPLE WHITELISTING POLICY final Imm...")
We are currently at Alpha right now - but will be production ready and soon.
Sample programmatic policy example:
// A VERY SIMPLE WHITELISTING POLICY
final ImmutableSet<String> okTags = ImmutableSet.of(
"a", "b", "br", "div", "i", "img", "input", "li",
"ol", "p", "span", "ul");
final ImmutableSet<String> okAttrs = ImmutableSet.of(
"div", "checked", "class", "href", "id", "target", "title", "type");