Staging
v0.8.1
https://github.com/python/cpython
Revision f3963b1269a9f4fde99724524a7afe81e974aa62 authored by Guido van Rossum on 18 March 1999, 15:10:44 UTC, committed by Guido van Rossum on 18 March 1999, 15:10:44 UTC
If a filename on Windows starts with \\, it is converted to a URL
which starts with ////.  If this URL is passed to urlparse.urlparse
you get a path that starts with // (and an empty netloc).  If you pass
the result back to urlparse.urlunparse, you get a URL that starts with
//, which is parsed differently by urlparse.urlparse.  The fix is to
add the (empty) netloc with accompanying slashes if the path in
urlunparse starts with //.  Do this for all schemes that use a netloc.
1 parent e3fd106
History
Tip revision: f3963b1269a9f4fde99724524a7afe81e974aa62 authored by Guido van Rossum on 18 March 1999, 15:10:44 UTC
Sjoerd Mullender writes:
Tip revision: f3963b1
File Mode Size
BeOS
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
Tools
.hgtags -rw-r--r-- 1.4 KB
Makefile.in -rw-r--r-- 17.9 KB
README -rw-r--r-- 36.1 KB
acconfig.h -rw-r--r-- 3.7 KB
config.h.in -rw-r--r-- 11.8 KB
configure -rwxr-xr-x 129.3 KB
configure.in -rw-r--r-- 23.3 KB
install-sh -rwxr-xr-x 2.2 KB

README

back to top