Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-46

Creating a client with http://Administrator:password@localhost:8091 causing authentication to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.1
    • 1.0.0
    • library
    • None

    Description

      If you connect with http://Administrator:password@localhost:8091 there is an issue because when you specify the username and password later (when calling OpenBucket for example) the arguments passed into this function are overwritten by the ones in the url that is passed in to create the original connection.

      See https://golang.org/src/net/http/client.go line 214 for the place where this gets overridden.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            mikew Mike Wiederhold [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty