Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-582

Add $escapetool.json for escaping JSON

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.1-milestone-1
    • 6.0-rc-1
    • Velocity
    • None
    • Unit
    • N/A (will show up in the SRD)

    Description

      While JavaScript and JSON use almost the same escape syntax, one critical difference is that ' doesn't need to be escaped, and it's actually a syntax error to escape it. This causes the livetable to fail to display correctly in certain browsers if there's a document containing an apostrophe in its name, or is created/authored by a user with an apostrophe in his name.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: