You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When given a Windows UNC path, urllib.request.pathname2url() incorrectly generates a URI that begins with four slashes. The correct number is two, see ref1, ref2.
Bug report
Bug description:
When given a Windows UNC path,
urllib.request.pathname2url()
incorrectly generates a URI that begins with four slashes. The correct number is two, see ref1, ref2.Furthermore, when given an extended UNC path like
\\?\unc\server\share
,pathname2url()
incorrectly generates a URI that begins with only one slash:CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: