[merge][#165014] url parser accepts IPv6 literals

Martin Pool mbp at canonical.com
Mon Dec 1 03:45:01 GMT 2008

Here's a cleanup of the patch attached to this bug.  It doesn't
completely fix it as there's still a problem in actually creating a
socket to an ipv6 server.

I moved the code from Transport to being in urlutils which seems a
better place.

This method is a bit duplicative of the builtin python urlparse, but
it can't handle the case complained of in this bug.

Martin <http://launchpad.net/~mbp/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20081201-ipv6-literals.diff
Type: text/x-diff
Size: 9361 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081201/200c69d0/attachment.bin 

More information about the bazaar mailing list