You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (JIRA)" <ji...@apache.org> on 2013/11/01 18:01:20 UTC

[jira] [Updated] (SLING-3222) RequestUtil#escapeXml doesn't escape quotes

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

Andrei Dulvac updated SLING-3222:
---------------------------------

    Attachment: SLING-3222.patch

Attached patch

> RequestUtil#escapeXml doesn't escape quotes
> -------------------------------------------
>
>                 Key: SLING-3222
>                 URL: https://issues.apache.org/jira/browse/SLING-3222
>             Project: Sling
>          Issue Type: Bug
>          Components: API
>    Affects Versions: API 2.2.0
>            Reporter: Andrei Dulvac
>              Labels: PatchAvailable
>         Attachments: SLING-3222.patch
>
>
> According to http://www.w3.org/TR/xml/#syntax , there are 5 characters which should be escaped in XML. 
> ResponseUtil#escapeXml(String input) only escapes brackets and ampersand. It should also escape single and double quotes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)