/
HtmlEncoder
HtmlEncoder
The encoder property defines an HTMLEncoder object (javadoc here) which allows safe encoding of various types.
You should always use the encoder as protection against cross site-scripting and other attacks.
Methods available are
encodeForHTML
This is used for to encode HTML text.
Example
$encoder.encodeForHTML($someProperty)
encodeForHTMLAttribute
This is used to encode an HTML attribute
Example
<a href="$encoder.encodeForHTMLAttribute($someProperty)">Link</a>
, multiple selections available,
Related content
MessagesTranslation
MessagesTranslation
More like this
DynamicHTTPMetadataProvider
DynamicHTTPMetadataProvider
More like this
URLTemplate
URLTemplate
More like this
TranscodingRuleConfiguration
TranscodingRuleConfiguration
More like this
CacheKeyTemplate
CacheKeyTemplate
More like this
HTPasswdAuthnConfiguration
HTPasswdAuthnConfiguration
More like this