Searched refs:allowAttributes (Results 1 – 13 of 13) sorted by relevance
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
D | EbayPolicyExample.java | 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 …]
|
D | SlashdotPolicyExample.java | 71 .allowAttributes("title").globally() 73 .allowAttributes("href").onElements("a") 77 .allowAttributes("lang").matching(Pattern.compile("[a-zA-Z]{2,20}")) 80 .allowAttributes("align")
|
D | UrlTextExample.java | 122 .allowAttributes("src").onElements("img") in run() 123 .allowAttributes("href").onElements("a") in run()
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
D | HtmlPolicyBuilderTest.java | 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()
|
D | SanitizersTest.java | 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()
|
D | AntiSamyTest.java | 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()
|
D | HtmlPolicyBuilderFuzzerTest.java | 61 .allowAttributes("href").onElements("a") 62 .allowAttributes("title").globally()
|
D | HtmlSanitizerTest.java | 359 .allowAttributes( in sanitize() 364 .allowAttributes("id", "class") in sanitize()
|
D | Benchmark.java | 190 .allowAttributes("href").onElements("a"); in sanitizeUsingPolicyBuilder()
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | Sanitizers.java | 79 .allowAttributes("href").onElements("a").requireRelNofollowOnLinks() 105 .allowAttributes("alt", "src").onElements("img") 106 .allowAttributes("border", "height", "width").matching(INTEGER)
|
D | HtmlPolicyBuilder.java | 301 public AttributeBuilder allowAttributes(String... attributeNames) { in allowAttributes() method in HtmlPolicyBuilder 319 return this.allowAttributes(attributeNames) in disallowAttributes()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | FunctionImplementation.h | 57 OpAsmParser &parser, bool allowAttributes, bool allowVariadic,
|
/external/llvm-project/mlir/lib/IR/ |
D | FunctionImplementation.cpp | 17 OpAsmParser &parser, bool allowAttributes, bool allowVariadic, in parseFunctionArgumentList() argument 59 if (!allowAttributes && !attrs.empty()) in parseFunctionArgumentList()
|