couchdb does not process query string parameters correctly after HTTP redirect

Bug #456234 reported by Chad Miller
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
couchdb (Ubuntu)
Fix Released
Undecided
Chad Miller
Karmic
Fix Released
Undecided
Chad Miller

Bug Description

Binary package hint: couchdb

Fixing apache only sovled part of the problem. Couchdb doesn't handle query strings correctly in replication. It is acting as a client, and it packs its HTTP "Authorization" header with OAuth credentials. The far end receives a request and redirects us to another resource. Couchdb must then delete its Authorization header and recompute the OAuth credentials for the new resource.

Related branches

Chad Miller (cmiller)
Changed in couchdb (Ubuntu):
assignee: nobody → Chad Miller (cmiller)
status: New → Confirmed
Revision history for this message
Chad Miller (cmiller) wrote :

Fix from kocolosk @ couchdb:

http://svn.apache.org/viewvc?view=revision&revision=825402

"bugfixes for redirects in replication and iolists in OAuth qs params"

Changed in couchdb (Ubuntu):
milestone: none → ubuntu-9.10
Revision history for this message
Eric Casteleijn (thisfred) wrote :

Tested locally against the u1 couch server and replication now works!

Revision history for this message
Eric Casteleijn (thisfred) wrote :

so eh, not so locally. I mean I installed chad's build locally.

Revision history for this message
Chad Miller (cmiller) wrote :
Chad Miller (cmiller)
Changed in couchdb (Ubuntu Karmic):
status: Confirmed → Fix Committed
Chad Miller (cmiller)
Changed in couchdb (Ubuntu Karmic):
assignee: Chad Miller (cmiller) → nobody
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded

Changed in couchdb (Ubuntu Karmic):
assignee: nobody → Chad Miller (cmiller)
Chad Miller (cmiller)
Changed in couchdb (Ubuntu Karmic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.