Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-1173

[2.8.1 Backport] ISGR credentials with characters requiring URL encoding cause blipsync to fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.8.0.1
    • 2.8.0
    • SyncGateway
    • Security Level: Public
    • None
    • 1

    Description

      Credentials for ISG replications are incorrectly escaped with URL encoding before being base64 encoded when building the Authorization header for the _blipsync endpoint.

      This results in websockets failing to connect if usernames or passwords contain a lot of special characters due to the reason: "bad status", even though the prior HTTP request succeeded (the initial HTTP request is using basic auth, and so escaping there is a valid thing to do).

      Attachments

        Issue Links

          Activity

            People

              ben.brooks Ben Brooks
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty