]> granicus.if.org Git - python/commit
bpo-27657: Fix urlparse() with numeric paths (#661)
authorTim Graham <timograham@gmail.com>
Fri, 18 Oct 2019 13:07:20 +0000 (09:07 -0400)
committerSenthil Kumaran <skumaran@gatech.edu>
Fri, 18 Oct 2019 13:07:20 +0000 (06:07 -0700)
commit5a88d50ff013a64fbdb25b877c87644a9034c969
tree48ee40eae4bce36fadf31bca4790f097ac65e999
parentfbe3c76c7ce1eec887d332d801d3784212cc0f73
bpo-27657: Fix urlparse() with numeric paths (#661)

* bpo-27657: Fix urlparse() with numeric paths

Revert parsing decision from bpo-754016 in favor of the documented
consensus in bpo-16932 of how to treat strings without a // to
designate the netloc.

* bpo-22891: Remove urlsplit() optimization for 'http' prefixed inputs.
Lib/test/test_urlparse.py
Lib/urllib/parse.py
Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst [new file with mode: 0644]