Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2389

issues with JsopBuilder.encode and .escape

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.9, 1.1.5
    • 1.0.12, 1.1.6
    • None
    • None

    Description

      1) escape() escapes many characters that do not need to be escaped (>127)

      2) encode() does not encode many control characters that would need to be escaped when read through a JSON parser.

      Attachments

        1. OAK-2389-b.diff
          6 kB
          Thomas Mueller
        2. OAK-2389.diff
          6 kB
          Julian Reschke

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: