]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
merge r72343. Fix for issue7043
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 5 Oct 2009 04:13:01 +0000 (04:13 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 5 Oct 2009 04:13:01 +0000 (04:13 +0000)
Lib/nturl2path.py

index 31064044e73d7687986618ecea165a2f51bd543c..29ea80f9d9e9e09001e41b4c92ea45e1e3017627 100644 (file)
@@ -56,7 +56,7 @@ def pathname2url(p):
 
     drive = urllib.quote(comp[0].upper())
     components = comp[1].split('\\')
-    path = '///' + drive + '|'
+    path = '///' + drive + ':'
     for comp in components:
         if comp:
             path = path + '/' + urllib.quote(comp)