bazaar branch redirects missing slash between hostname and path

Bug #2017026 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-layers
Fix Released
Critical
Colin Watson

Bug Description

It looks like a recent (~hours) regression has broken the location file served up by launchpad.

E.g. https://code.launchpad.net/~jelmer/debian/sid/breezy/main/.bzr/branch/location

will now yield something like:

http://bazaar.launchpad.net~jelmer/debian/sid/breezy/main%

(notice the missing / between hostname and first path segment)

Practically speaking, this breaks access to Launchpad bazaar branches with some URLs:

% bzr pull https://code.launchpad.net/~jelmer/debian/sid/breezy/main
brz: ERROR: Connection error: Couldn't resolve host 'bazaar.launchpad.net~jelmer' [Errno -2] Name or service not known
% bzr pull lp:~jelmer/debian/sid/breezy/main
(works fine)
% bzr pull http://bazaar.launchpad.net/~jelmer/debian/sid/breezy/main
(works fine too)

Related branches

Colin Watson (cjwatson)
affects: launchpad → launchpad-layers
Changed in launchpad-layers:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson)
Changed in launchpad-layers:
status: In Progress → 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.