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
Raw File
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
copyright.rst
*********
Copyright
*********

Python and this documentation is:

Copyright © 2001-2016 Python Software Foundation. All rights reserved.

Copyright © 2000 BeOpen.com. All rights reserved.

Copyright © 1995-2000 Corporation for National Research Initiatives. All rights
reserved.

Copyright © 1991-1995 Stichting Mathematisch Centrum. All rights reserved.

-------

See :ref:`history-and-license` for complete license and permissions information.

back to top