[issue20271] urllib.parse.urlparse() accepts wrong URLs

STINNER Victor report at bugs.python.org
Fri Mar 7 17:21:36 CET 2014


STINNER Victor added the comment:

My patch "urlparse.patch" may be modified to fix also #18191 in Python 2.7, 3.3 and 3.4: splitport() should handle IPv6 ("[::1]:80") and auth ("user:passowrd at host") but not raises an exception.

----------

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


More information about the Python-bugs-list mailing list