url mangling interacting badly with http sites with trailing /
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Breezy |
Triaged
|
Medium
|
Unassigned |
Bug Description
urlutils.split("http://
than ("http://
Also Transport.
opening a 'foo/' it turns it into 'foo'.
This breaks e.g. 'bzr patch http://
The following (wrong because we can just remove the != '' check higher,
but easy for testing) - helps, it at least allows
get_transport(
=== modified file 'bzrlib/
--- bzrlib/
+++ bzrlib/
@@ -479,6 +479,8 @@
path = '/'.join(
if not path.startswith
path = '/' + path
+ if relpath.
+ path += '/'
return path
def recommended_
This regularly bites users, so -
affects bzr
importance high
Changed in bzr: | |
assignee: | nobody → Robert Collins (lifeless) |
status: | New → Confirmed |
tags: | added: url |
tags: | added: check-for-breezy |
tags: | removed: check-for-breezy |
Changed in brz: | |
status: | New → Triaged |
importance: | Undecided → Medium |
I'm assuming this is another example of the same problem:
$ bzr pull http:// intertwingly. net/code/ venus/ intertwingly. net/code/ venus is permanently redirected to http:// intertwingly. net/code/ venus/
http://
No revisions to pull.