[issue754016] urlparse goes wrong with IP:port without scheme

Facundo Batista report at bugs.python.org
Wed Jul 2 16:40:57 CEST 2008


Facundo Batista <facundo at taniquetil.com.ar> added the comment:

I think this last patch is ok, but the third case that was raised in the
web-sig should be addressed:

"""
There's even a 3rd case: HTTP's Request-URI. For example, '//path' must
be treated as an abs_path consisting of two path_segments ['', 'path'],
not a net_loc, since the Request_URI must be one of ("*" | absoluteURI |
abs_path | authority).
"""

Please, address this new detail, and I'd commit this. Thanks!

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue754016>
_______________________________________


More information about the Python-bugs-list mailing list