bzr fails to handles too many permanent http redirections

Bug #88780 reported by Vincent Ladeuil
4
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Vincent Ladeuil

Bug Description

Reported on the mailing list by Matthias Rahlf <email address hidden>

bzr: ERROR: exceptions.NameError: global name 'redirected_url' is not
defined

Traceback (most recent call last):

<cut for brevity>

bzr 0.15.0dev0 on python 2.5.0.final.0 (linux2)
arguments: ['/usr/local/bin/bzr', 'branch',
'http://launchpad.net/products/bzr-gtk']

The bug is trigered by launchpad doing a double permanent redirection:
http://launchpad.net/products/bzr-gtk
=>
https://launchpad.net/products/bzr-gtk/
=>
https://launchpad.net/bzr-gtk/

Related branches

Vincent Ladeuil (vila)
Changed in bzr:
assignee: nobody → v-ladeuil
Revision history for this message
Vincent Ladeuil (vila) wrote :

Fixed but not tests.

The needed infrastructure is in bzr.http.redirection, I'll add the appropriate tests there.

bzr branch http://launchpad.net/products/bzr-gtk now works correctly.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Marked critical as many users may want to branch from launchpad.

Changed in bzr:
importance: Undecided → Critical
Vincent Ladeuil (vila)
Changed in bzr:
status: Unconfirmed → Fix Committed
Revision history for this message
Martin Pool (mbp) wrote :

This does still fail in 0.15rc2 so we should look at merging before the final release.

Vincent Ladeuil (vila)
Changed in bzr:
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.