summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2019-10-18 13:07:20 (GMT)
committerSenthil Kumaran <skumaran@gatech.edu>2019-10-18 13:07:20 (GMT)
commit5a88d50ff013a64fbdb25b877c87644a9034c969 (patch)
tree48ee40eae4bce36fadf31bca4790f097ac65e999 /Misc
parentfbe3c76c7ce1eec887d332d801d3784212cc0f73 (diff)
downloadcpython-5a88d50ff013a64fbdb25b877c87644a9034c969.zip
cpython-5a88d50ff013a64fbdb25b877c87644a9034c969.tar.gz
cpython-5a88d50ff013a64fbdb25b877c87644a9034c969.tar.bz2
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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst b/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst
new file mode 100644
index 0000000..77746c0
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-12-26-14-32-23.bpo-27657.6BhyVK.rst
@@ -0,0 +1,2 @@
+Fix urllib.parse.urlparse() with numeric paths. A string like "path:80" is
+no longer parsed as a path but as a scheme ("path") and a path ("80").