Incorrect encoding of slashes in paths

Bug #675557 reported by Eric Casteleijn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Confirmed
Medium
Ubuntu One Client Engineering team
desktopcouch (Ubuntu)
Confirmed
Medium
Ubuntu One Client Engineering team

Bug Description

When calling views from desktopcouch, slashes that are not part of the database name are encoded to %2Fs which CouchDB (1.0.1) considers invalid after which it sends a 301 or 302, and the request is redirected. This means that any call to a view will consist of two requests/responses, where only one is necessary.

This may be a bug in the underlying python-couchdb library, in which case we'll want to investigate whether it's solved in a more recent release than we're using, and if not, file a bug against that project.

Tags: u1-natty-sru
Changed in desktopcouch:
assignee: nobody → Eric Casteleijn (thisfred)
Changed in desktopcouch:
status: Confirmed → In Progress
Revision history for this message
Eric Casteleijn (thisfred) wrote :

This is definitely a bug in python-couchdb, but the good news is that it appears to be fixed there, so this should go away once we update to the newer version.

Changed in desktopcouch (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Eric Casteleijn (thisfred)
milestone: none → natty-alpha-1
Changed in desktopcouch:
milestone: 1.0 → 1.1
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-1 → natty-alpha-2
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-2 → natty-alpha-3
Changed in desktopcouch (Ubuntu):
milestone: natty-alpha-3 → ubuntu-11.04-beta-1
Changed in desktopcouch (Ubuntu):
milestone: ubuntu-11.04-beta-1 → ubuntu-11.04-beta-2
tags: added: u1-natty-beta
Changed in desktopcouch (Ubuntu):
milestone: ubuntu-11.04-beta-2 → none
tags: added: u1-natty
removed: u1-natty-beta
tags: added: u1-natty-sru
removed: u1-natty
Changed in desktopcouch:
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in desktopcouch (Ubuntu):
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Changed in desktopcouch:
milestone: 1.1 → none
status: In Progress → Confirmed
Changed in desktopcouch (Ubuntu):
status: In Progress → Confirmed
JACQUELINE (ijdisabest)
Changed in desktopcouch:
status: Confirmed → Fix Released
Changed in desktopcouch (Ubuntu):
status: Confirmed → Fix Released
Colin Watson (cjwatson)
Changed in desktopcouch (Ubuntu):
status: Fix Released → Confirmed
Tom Haddon (mthaddon)
Changed in desktopcouch:
status: Fix Released → Confirmed
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.