META-INF.com.adobe.granite-com.adobe.granite.xssprotection-taglib.tld Maven / Gradle / Ivy
A supporting tab library for Adobe Granite's XSS protection
1.0
cqxss
http://www.day.com/taglibs/cq/xss/1.0
Prevents the enclosed text from containing injected code according to the
policy that must have been defined before using the policy tag.
out
com.day.cq.xss.taglib.ProtectBody
scriptless
Path to the repository node that contains the policy to be used. If none
is specified, the default policy is used
policy
false
false
The context the encoding has to be executed for. Currently valid values:
htmlToHtmlContent - for applying a policy to an HTML source string to clean
it up (default).
context
false
false
Prevents the enclosed text from containing injected code according to the
policy that must have been defined before using the policy tag and sets the
result as the request attribute specified by the name attribute.
in
com.day.cq.xss.taglib.ProtectStringAsAttribute
scriptless
Name of the attribute to save the result to.
name
true
false
Path to the repository node that contains the policy to be used. If none
is specified, the default policy is used.
policy
false
false
The context the encoding has to be executed for. Currently valid values:
htmlToHtmlContent - for applying a policy to an HTML source string to clean
it up (default).
context
false
false
Invalidates a cached policy. Note that it is deprecated to use this tag.
invalidate
com.day.cq.xss.taglib.InvalidatePolicy
empty
Path to the repository node that contains the policy to be invalidated.
If none is specified, the default policy is used.
policy
false
false