You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/02/13 17:42:11 UTC

[jira] [Created] (SLING-4420) Escape quotes and double quotes when escaping for XML

Carsten Ziegeler created SLING-4420:
---------------------------------------

             Summary: Escape quotes and double quotes when escaping for XML
                 Key: SLING-4420
                 URL: https://issues.apache.org/jira/browse/SLING-4420
             Project: Sling
          Issue Type: Bug
          Components: Engine
    Affects Versions: Engine 2.3.10
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Engine 2.3.12


Currently only <, > and & are escaped in the ResponseUtil, we should extend this to " and ' in order to use the same functionality for writing out attributes as well as text.

This has already been done in the Sling API version of this class (see SLING-3276), but although this class is deprecated we should apply the same encoding



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