You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/10/08 10:51:26 UTC

[jira] [Resolved] (SLING-4260) Sightly support for encoding for xml

     [ https://issues.apache.org/jira/browse/SLING-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu resolved SLING-4260.
---------------------------------
    Resolution: Won't Fix
      Assignee: Radu Cotescu

Currently the XSS implementation actually encodes both HTML and XML using the same encoder. Therefore you could just use the {{html}} context, if you need to manually specify the context.

> Sightly support for encoding for xml
> ------------------------------------
>
>                 Key: SLING-4260
>                 URL: https://issues.apache.org/jira/browse/SLING-4260
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Sightly Engine 1.0.2
>            Reporter: Feike Visser
>            Assignee: Radu Cotescu
>             Fix For: Scripting Sightly Engine 1.0.6
>
>
> Currently this is not supported in Sightly:
> {noformat}
> ${ property @ context = 'xml' }
> {noformat}
> This should call the xssApi encode for XML.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)