Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-868

Authenticated replication fails when design documents have attachments

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.2, 1.0, 1.0.1
    • 1.0.3
    • Replication
    • None
    • Linux, Erlang R13B04

    Description

      The old bug of forgetting the Authorization header still happens, apparently with documents attachments. I think the request for _design%2fddoc/attachment is bounced and the subsequent request simply follows the `Location` header without adding the credentials again.

      It looks like couch_rep_att:validate_headers/3 simply follows the "Location" header instead of doing what couch_rep_httpc's smarter `redirect_url/2`

      Attachments

        Activity

          People

            fdmanana Filipe David Borba Manana
            jhs Jason Smith
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment