◐ Shell
clean mode source ↗

Message 408219 - Python tracker

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.