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

Bucket URI should be URL encoded in the terse bucket info endpoint

    XMLWordPrintable

Details

    • Untriaged
    • 1
    • Unknown

    Description

      The URI attribute of the terse bucket info endpoint is not properly URL encoded. E.g. if the name of a bucket is test%bucket we see the following:

      $ curl -s localhost:9000/pools/default/b/test%bucket -u Administrator:asdasd | jq .uri
      "/pools/default/buckets/test%bucket?bucket_uuid=0303deba56382ce81b150e374409b7c8"
      

      However, the value of the URI is correctly URL encoded in other REST endpoints. E.g.

      $ curl -s localhost:9000/pools/default/buckets/test%bucket -u Administrator:asdasd | jq .uri
      "/pools/default/buckets/test%25bucket?bucket_uuid=0303deba56382ce81b150e374409b7c8"
      

      Note that this issue has already been fixed in Cheshire Cat builds.

      Attachments

        Issue Links

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

          Activity

            People

              steve.watanabe Steve Watanabe
              dfinlay Dave Finlay
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty