Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4420

Escape quotes and double quotes when escaping for XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Engine 2.3.10
    • Engine 2.4.0
    • Engine
    • None

    Description

      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

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: