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

Karthikeyan Singaravelan report at bugs.python.org
Thu Oct 24 05:42:12 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

With Victor's PR 16780, "http://[::1]spam:80" would raise a ValueError.

ValueError: Invalid network location: '[::1]spam:80'

----------

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


More information about the Python-bugs-list mailing list