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 17:32:24 UTC
[jira] [Created] (SLING-3222) RequestUtil#escapeXml doesn't escape
quotes
Andrei Dulvac created SLING-3222:
------------------------------------
Summary: 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
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)