diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-06-20 13:33:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-20 13:33:35 (GMT) |
commit | 4899d847ed3f56b2a712799f896aa1f28540a5c0 (patch) | |
tree | 0eb18aeb2db152285f2a210a8de3161415245e2b /Misc/ACKS | |
parent | 070ba85a8f45819d9197bce4541cd594d79d247c (diff) | |
download | cpython-4899d847ed3f56b2a712799f896aa1f28540a5c0.zip cpython-4899d847ed3f56b2a712799f896aa1f28540a5c0.tar.gz cpython-4899d847ed3f56b2a712799f896aa1f28540a5c0.tar.bz2 |
bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) (#2290)
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 'Misc/ACKS')
-rw-r--r-- | Misc/ACKS | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1060,6 +1060,7 @@ Max Neunhöffer Anthon van der Neut George Neville-Neil Hieu Nguyen +Nam Nguyen Johannes Nicolai Samuel Nicolary Jonathan Niehof |