We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8586e commit c50f547Copy full SHA for c50f547
Lib/nturl2path.py
@@ -31,7 +31,7 @@ def url2pathname(url):
31
url = url[1:]
32
if url[1:2] == '|':
33
# Older URLs use a pipe after a drive letter
34
- url = url.replace('|', ':', 1)
+ url = url[:1] + ':' + url[2:]
35
return urllib.parse.unquote(url.replace('/', '\\'))
36
37
def pathname2url(p):
0 commit comments