summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-20 13:37:24 (GMT)
committerNed Deily <nad@python.org>2017-07-07 03:27:01 (GMT)
commitb0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd (patch)
treecd2d27fd23d8c2f188a05ba74b8c966884c385e6 /Python/fileutils.c
parent00134f64d982561750f57f1a0bb7bb073f9f237c (diff)
downloadcpython-b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd.zip
cpython-b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd.tar.gz
cpython-b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd.tar.bz2
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)
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 536c1f1246f4faa302f9f5613fc3444e7ae09b4a)
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions