Home
last modified time | relevance | path

Searched refs:globalAttrPolicies (Results 1 – 4 of 4) sorted by relevance

/external/owasp/sanitizer/src/main/org/owasp/html/
DPolicyFactory.java57 private final ImmutableMap<String, AttributePolicy> globalAttrPolicies; field in PolicyFactory
63 ImmutableMap<String, AttributePolicy> globalAttrPolicies) { in PolicyFactory() argument
66 this.globalAttrPolicies = globalAttrPolicies; in PolicyFactory()
146 p = p.andGlobals(f.globalAttrPolicies); in and()
157 p = p.andGlobals(f.globalAttrPolicies); in and()
173 if (f.globalAttrPolicies.isEmpty()) { in and()
174 allGlobalAttrPolicies = this.globalAttrPolicies; in and()
175 } else if (this.globalAttrPolicies.isEmpty()) { in and()
176 allGlobalAttrPolicies = f.globalAttrPolicies; in and()
180 : this.globalAttrPolicies.entrySet()) { in and()
[all …]
DHtmlPolicyBuilder.java169 private final Map<String, AttributePolicy> globalAttrPolicies field in HtmlPolicyBuilder
333 AttributePolicy oldPolicy = globalAttrPolicies.get(attributeName); in allowAttributesGlobally()
334 globalAttrPolicies.put( in allowAttributesGlobally()
492 ImmutableMap.copyOf(globalAttrPolicies)); in toFactory()
516 Map<String, AttributePolicy> globalAttrPolicies in compilePolicies() local
517 = Maps.newLinkedHashMap(this.globalAttrPolicies); in compilePolicies()
565 if (globalAttrPolicies.containsKey(urlAttributeName)) { in compilePolicies()
567 globalAttrPolicies.put(urlAttributeName, AttributePolicy.Util.join( in compilePolicies()
568 urlAttributePolicy, globalAttrPolicies.get(urlAttributeName))); in compilePolicies()
603 if (globalAttrPolicies.containsKey(attributeName)) { continue; } in compilePolicies()
[all …]
DElementAndAttributePolicies.java104 Map<String, AttributePolicy> globalAttrPolicies) { in andGlobals() argument
105 if (globalAttrPolicies.isEmpty()) { return this; } in andGlobals()
109 AttributePolicy globalAttrPolicy = globalAttrPolicies.get(attrName); in andGlobals()
123 for (Map.Entry<String, AttributePolicy> e : globalAttrPolicies.entrySet()) { in andGlobals()
/external/owasp/sanitizer/distrib/lib/
Dowasp-java-html-sanitizer.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/owasp/ org/ ...