Staging
v0.5.1
https://github.com/python/cpython
Revision b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd authored by Victor Stinner on 20 June 2017, 13:37:24 UTC, committed by Ned Deily on 07 July 2017, 03:27:01 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 536c1f1246f4faa302f9f5613fc3444e7ae09b4a)
1 parent 00134f6
Raw File
Tip revision: b0fba8874a4bd6bf4773e6efdbd8fa762e9f05bd authored by Victor Stinner on 20 June 2017, 13:37:24 UTC
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2289)
Tip revision: b0fba88
.bzrignore
.purify
autom4te.cache
config.log
config.cache
config.status
config.status.lineno
db_home
Makefile
buildno
python
build
Makefile.pre
platform
pybuilddir.txt
pyconfig.h
libpython*.a
libpython*.so*
python.exe
python-gdb.py
reflog.txt
tags
TAGS
.gdb_history
Doc/tools/sphinx
Doc/tools/jinja
Doc/tools/jinja2
Doc/tools/pygments
Doc/tools/docutils
Misc/python.pc
Modules/Setup
Modules/Setup.config
Modules/Setup.local
Modules/config.c
Modules/ld_so_aix
Parser/pgen
Lib/test/data/*
Lib/lib2to3/Grammar*.pickle
Lib/lib2to3/PatternGrammar*.pickle
__pycache__
.coverage
coverage/*
htmlcov/*
back to top