Staging
v0.8.1
https://github.com/python/cpython
Revision cc54c1c0d2d05fe7404ba64c53df4b1352ed2262 authored by Victor Stinner on 12 July 2017, 12:51:46 UTC, committed by larryhastings on 12 July 2017, 12:51:46 UTC
The current regex based splitting produces a wrong result. For example::

  http://abc#@def

Web browsers parse that URL as ``http://abc/#@def``, that is, the host
is ``abc``, the path is ``/``, and the fragment is ``#@def``.
(cherry picked from commit 90e01e50ef8a9e6c91f30d965563c378a4ad26de)
1 parent 71572bb
History
Tip revision: cc54c1c0d2d05fe7404ba64c53df4b1352ed2262 authored by Victor Stinner on 12 July 2017, 12:51:46 UTC
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2291)
Tip revision: cc54c1c
File Mode Size
VS9.0
bdist_wininst
icons
WinMain.c -rw-r--r-- 449 bytes
_msi.c -rw-r--r-- 31.0 KB
config.c -rw-r--r-- 5.0 KB
dl_nt.c -rw-r--r-- 4.3 KB
dllbase_nt.txt -rw-r--r-- 3.5 KB
empty.c -rw-r--r-- 137 bytes
errmap.h -rw-r--r-- 2.1 KB
errmap.mak -rw-r--r-- 95 bytes
frozen_dllmain.c -rw-r--r-- 3.9 KB
generrmap.c -rw-r--r-- 849 bytes
getpathp.c -rw-r--r-- 24.5 KB
icons.mak -rw-r--r-- 213 bytes
icons.rc -rw-r--r-- 59 bytes
launcher.c -rw-r--r-- 47.9 KB
launcher.ico -rw-r--r-- 19.3 KB
make_versioninfo.c -rw-r--r-- 1.2 KB
msvcrtmodule.c -rw-r--r-- 14.0 KB
py.ico -rw-r--r-- 19.3 KB
pyc.ico -rw-r--r-- 19.3 KB
pycon.ico -rw-r--r-- 19.3 KB
pyconfig.h -rw-r--r-- 20.6 KB
pylauncher.rc -rw-r--r-- 1.3 KB
python3.def -rw-r--r-- 35.0 KB
python3.mak -rw-r--r-- 611 bytes
python34gen.py -rw-r--r-- 663 bytes
python34stub.def -rw-r--r-- 13.4 KB
python3dll.c -rw-r--r-- 134 bytes
python_exe.rc -rw-r--r-- 49 bytes
python_nt.rc -rw-r--r-- 1.8 KB
readme.txt -rw-r--r-- 3.8 KB
testpy.py -rw-r--r-- 836 bytes
winreg.c -rw-r--r-- 59.7 KB
winsound.c -rw-r--r-- 5.5 KB

readme.txt

back to top