Home
last modified time | relevance | path

Searched refs:POLICY_DEFINITION (Results 1 – 3 of 3) sorted by relevance

/external/owasp/sanitizer/src/tests/org/owasp/html/
DExamplesTest.java82 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesScripts()
89 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesOnclick()
96 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testTextAllowedInLinks()
/external/owasp/sanitizer/src/main/org/owasp/html/examples/
DSlashdotPolicyExample.java68 POLICY_DEFINITION = new HtmlPolicyBuilder() field in SlashdotPolicyExample
118 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer)); in main()
DEbayPolicyExample.java126 public static final PolicyFactory POLICY_DEFINITION = new HtmlPolicyBuilder() field in EbayPolicyExample
234 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer)); in main()