Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-20132

[FTS] Query validation error in Web Admin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 4.5.0
    • fts
    • Untriaged
    • Unknown

    Description

      When I search the travel sample bucket by typing the following into the web console search box, I get "syntax error":

      2014-08-25 03:22:02
      

      The colons cause that problem because they are field identifiers, but they also happen to be valid characters in a string, as in this case I'm trying to find a particular time that I didn't do anything special to index.

      My questions:

      • Can users escape the colon character?
      • Are there other characters that might be passed in to a query string that will cause a syntax error to be raised? I think application developers will need some ideas about what sanitation they need to do to make it safe to pass inputs to query string queries.

      Attachments

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

        Activity

          People

            steve Steve Yen
            will.gardella Will Gardella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty