Staging
v0.5.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
NEWS.d
ACKS -rw-r--r-- 22.6 KB
HISTORY -rw-r--r-- 1.1 MB
NEWS -rw-r--r-- 401.9 KB
Porting -rw-r--r-- 1.9 KB
README -rw-r--r-- 1.4 KB
README.AIX -rw-r--r-- 5.0 KB
README.coverity -rw-r--r-- 845 bytes
README.valgrind -rw-r--r-- 4.3 KB
SpecialBuilds.txt -rw-r--r-- 10.9 KB
coverity_model.c -rw-r--r-- 2.9 KB
gdbinit -rw-r--r-- 4.7 KB
indent.pro -rw-r--r-- 557 bytes
python-config.in -rw-r--r-- 2.0 KB
python-config.sh.in -rw-r--r-- 2.9 KB
python-wing3.wpr -rw-r--r-- 555 bytes
python-wing4.wpr -rw-r--r-- 835 bytes
python-wing5.wpr -rw-r--r-- 835 bytes
python.man -rw-r--r-- 13.2 KB
python.pc.in -rw-r--r-- 293 bytes
svnmap.txt -rw-r--r-- 4.1 MB
valgrind-python.supp -rw-r--r-- 8.2 KB
vgrindefs -rw-r--r-- 500 bytes

README

back to top