transports refuse file:/something URIs, which rfc2396 state are valid
Bug #628376 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Hi,
If you pass a file:/something URI to get_transport bzrlib will
refuse to use it, saying it should be file:///something or file://
However, a strict reading of rfc 2396 says that it is valid:
absoluteURI = scheme ":" ( hier_part | opaque_part )
hier_part = ( net_path | abs_path ) [ "?" query ]
net_path = "//" authority [ abs_path ]
abs_path = "/" path_segments
path_segments = segment *( "/" segment )
so file:/something is absoluteURI -> hier_part -> abs_path.
This is tripping me up right now as apt is perfectly happy with these
URIs, but bzrlib isn't, so I'm having to do some mangling.
Thanks,
James
tags: |
added: affects-linaro removed: linaro |
tags: | added: check-for-breezy |
To post a comment you must log in.
Is apt happy with the more regularly known uris? You may be strictly
right, but if you check the wiki on file uris you'll see its not what
browsers etc expect.