Irit Katriel <[email protected]> added the comment:
Reproduced on 3.11:
>>> urllib.parse.urlparse('http://www.google.com:/abc')
ParseResult(scheme='http', netloc='www.google.com:', path='/abc', params='',
query='', fragment='')
The discussion above was mostly leaning towards won't fix, except for the
suggestion to
> Based on the RFC, one could argue that urlunsplit should omit the colon.
----------
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.5, Python
3.6, Python 3.7
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue28841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com