summaryrefslogtreecommitdiffstats
path: root/Python/pythonmain.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-07-12 12:51:46 (GMT)
committerlarryhastings <larry@hastings.org>2017-07-12 12:51:46 (GMT)
commitcc54c1c0d2d05fe7404ba64c53df4b1352ed2262 (patch)
treedf73846d6ca927314bdb24125bb902dbcfc942eb /Python/pythonmain.c
parent71572bbe82aa0836c036d44d41c8269ba6a321be (diff)
downloadcpython-cc54c1c0d2d05fe7404ba64c53df4b1352ed2262.zip
cpython-cc54c1c0d2d05fe7404ba64c53df4b1352ed2262.tar.gz
cpython-cc54c1c0d2d05fe7404ba64c53df4b1352ed2262.tar.bz2
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2291)
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)
Diffstat (limited to 'Python/pythonmain.c')
0 files changed, 0 insertions, 0 deletions