Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1107

Properties beginning with dollar sign not handled correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.0
    • 2.7.1
    • LiteCore
    • Security Level: Public
    • None
    • 2

    Description

      There is a disconnect between the query parser and the path syntax parser in that a path can optionally start with a dollar sign, but that must be followed by a period.  In the case where it is omitted, and the property name starts with a dollar sign the parsing of the path fails because it thinks another path is being started.  The Query parser needs to detect the dollar sign and escape it. 

      Attachments

        Issue Links

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

          Activity

            People

              jimb Jim Borden
              jimb Jim Borden
              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