Staging
v0.5.1
https://github.com/python/cpython
Revision 052f9d6860c48c5abcff8e16212e77cf4249d66c authored by Victor Stinner on 26 July 2017, 02:43:52 UTC, committed by Ned Deily on 26 July 2017, 02:43:52 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)
(cherry picked from commit cc54c1c0d2d05fe7404ba64c53df4b1352ed2262)
1 parent b5f20ea
History
Tip revision: 052f9d6860c48c5abcff8e16212e77cf4249d66c authored by Victor Stinner on 26 July 2017, 02:43:52 UTC
[3.3] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2292)
Tip revision: 052f9d6
File Mode Size
c-api
data
distutils
extending
faq
howto
includes
install
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 6.9 KB
README.txt -rw-r--r-- 3.7 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 3.9 KB
conf.py -rw-r--r-- 5.9 KB
contents.rst -rw-r--r-- 415 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 39.5 KB
license.rst -rw-r--r-- 42.8 KB
make.bat -rw-r--r-- 1.5 KB

README.txt

back to top