devkral <[email protected]> added the comment:
Ok, then the problem is in unsplit.
Because: :/// is not a valid url.
Next try: in urlunsplit:
if netloc or (scheme and scheme in uses_netloc and url[:2] != '//'):
if url and url[:1] != '/' and scheme in ("file", ""): # my change
url = '/' + url
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35377>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com