Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-197

when switching to POST, ViewQueryRequest doesn't account for urlencoding of keys

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.0-dp2
    • 1.2.0-dp
    • None
    • None

    Description

      The java-client passes urlencoded params to the core (for keys notably).
      When the core switches to POST because of the size of the request, keys are not decoded (and the encoding could potentially be unknown), resulting in bad JSON and a server-side error.

      The keys should be passed separately and unencoded in the ViewQueryRequest, as a JSON array String, and encoded as needed by the core.

      Attachments

        Issue Links

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

          Activity

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              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