Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3639

[3.1.3 Backport] InjectJSONProperties doesn't escape string values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.3
    • 2.7.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 141
    • 1

    Description

      Strings that contain invalid JSON characters (like quotes) don't get escaped when run through InjectJSONProperties.

      This can be reproduced by running resync on a document with an ID containing a double quote.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ben.brooks Ben Brooks
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty