Message322676
Issue 34276 was opened about a similar case for “file:” URLs. I believe both “file:” scheme and no-scheme cases are a regression and could be fixed by adding another pair of slashes (an empty “netloc” part):
>>> urlparse("////foo.com") # No change
ParseResult(scheme='', netloc='', path='//foo.com', params='', query='', fragment='')
>>> urlunparse(_) # Knows to escape slashes with another double-slash
'////foo.com' |
|
Date |
User |
Action |
Args |
2018-07-30 13:15:47 | martin.panter | set | recipients:
+ martin.panter, orsenthil, pitrou, vstinner, christian.heimes, benjamin.peterson, python-dev, PaulMcMillan, ztane, soilandreyes, yaaboukir |
2018-07-30 13:15:46 | martin.panter | set | messageid: <1532956546.76.0.56676864532.issue23505@psf.upfronthosting.co.za> |
2018-07-30 13:15:46 | martin.panter | link | issue23505 messages |
2018-07-30 13:15:46 | martin.panter | create | |
|