Searched refs:allowAttributes (Results 1 – 12 of 12) sorted by relevance
127 .allowAttributes("id").matching(HTML_ID).globally()128 .allowAttributes("class").matching(HTML_CLASS).globally()129 .allowAttributes("lang").matching(Pattern.compile("[a-zA-Z]{2,20}"))131 .allowAttributes("title").matching(HTML_TITLE).globally()133 .allowAttributes("align").matching(ALIGN).onElements("p")134 .allowAttributes("for").matching(HTML_ID).onElements("label")135 .allowAttributes("color").matching(COLOR_NAME_OR_COLOR_CODE)137 .allowAttributes("face")140 .allowAttributes("size").matching(NUMBER).onElements("font")141 .allowAttributes("href").matching(ONSITE_OR_OFFSITE_URL)[all …]
71 .allowAttributes("title").globally()73 .allowAttributes("href").onElements("a")77 .allowAttributes("lang").matching(Pattern.compile("[a-zA-Z]{2,20}"))80 .allowAttributes("align")
122 .allowAttributes("src").onElements("img") in run()123 .allowAttributes("href").onElements("a") in run()
135 .allowAttributes("href").onElements("a"))); in testLinksAllowed()155 .allowAttributes("href").onElements("a"))); in testExternalLinksAllowed()173 .allowAttributes("href").onElements("a") in testLinksWithNofollow()192 .allowAttributes("src", "alt").onElements("img") in testImagesAllowed()257 .allowAttributes("src", "alt").onElements("img") in testAllowUrlProtocols()268 .allowAttributes("href").onElements("a") in testPossibleFalloutFromIssue5()
102 .allowAttributes("href", "title").onElements("a") in testAndIntersects()199 .allowAttributes("href").onElements("a") in testExplicitlyAllowedProtocolsAreCaseInsensitive()240 .allowAttributes("align").matching(true, "left", "center", "right") in testIssue9StylesInTables()242 .allowAttributes("size").onElements("font", "img") in testIssue9StylesInTables()272 .allowAttributes("disabled").onElements("textarea") in testSkipIfEmptyUnionsProperly()
74 .allowAttributes("checked", "type").onElements("input") in makePolicy()75 .allowAttributes("color").onElements("font") in makePolicy()76 .allowAttributes("href").onElements("a") in makePolicy()77 .allowAttributes("src").onElements("img") in makePolicy()78 .allowAttributes("class", "id", "title").globally() in makePolicy()79 .allowAttributes("char").matching( in makePolicy()
61 .allowAttributes("href").onElements("a")62 .allowAttributes("title").globally()
359 .allowAttributes( in sanitize()364 .allowAttributes("id", "class") in sanitize()
190 .allowAttributes("href").onElements("a"); in sanitizeUsingPolicyBuilder()
79 .allowAttributes("href").onElements("a").requireRelNofollowOnLinks()105 .allowAttributes("alt", "src").onElements("img")106 .allowAttributes("border", "height", "width").matching(INTEGER)
301 public AttributeBuilder allowAttributes(String... attributeNames) { in allowAttributes() method in HtmlPolicyBuilder319 return this.allowAttributes(attributeNames) in disallowAttributes()
META-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...