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

issues with JsopBuilder.encode and .escape

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.9, 1.1.5
    • Fix Version/s: 1.0.12, 1.1.6
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: