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

README

back to top