Package | Description |
---|---|
org.owasp.html |
An efficient
HtmlSanitizer
configurable via a flexible
HtmlPolicyBuilder . |
Modifier and Type | Class and Description |
---|---|
class |
FilterUrlByProtocolAttributePolicy
An attribute policy for attributes whose values are URLs that requires that
the value have no protocol or have an allowed protocol.
|
Modifier and Type | Field and Description |
---|---|
static AttributePolicy |
AttributePolicy.IDENTITY_ATTRIBUTE_POLICY |
static AttributePolicy |
AttributePolicy.REJECT_ALL_ATTRIBUTE_POLICY |
Modifier and Type | Method and Description |
---|---|
static AttributePolicy |
AttributePolicy.Util.join(AttributePolicy... policies)
An attribute policy equivalent to applying all the given policies in
order, failing early if any of them fails.
|
Modifier and Type | Method and Description |
---|---|
static AttributePolicy |
AttributePolicy.Util.join(AttributePolicy... policies)
An attribute policy equivalent to applying all the given policies in
order, failing early if any of them fails.
|
HtmlPolicyBuilder.AttributeBuilder |
HtmlPolicyBuilder.AttributeBuilder.matching(AttributePolicy policy)
Filters and/or transforms the attribute values
allowed by later
allow* calls. |
Copyright © 2015. All rights reserved.