summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAbhilash Raj <maxking@users.noreply.github.com>2019-10-12 05:41:35 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-12 05:41:35 (GMT)
commit19a3d873005e5730eeabdc394c961e93f2ec02f0 (patch)
tree888187697cbe6cd398211a1ba309a313a934ffbe /Misc
parent2b7dc40b2af6578181808ba73c1533fc114e55df (diff)
downloadcpython-19a3d873005e5730eeabdc394c961e93f2ec02f0.zip
cpython-19a3d873005e5730eeabdc394c961e93f2ec02f0.tar.gz
cpython-19a3d873005e5730eeabdc394c961e93f2ec02f0.tar.bz2
bpo-38449: Revert "bpo-22347: Update mimetypes.guess_type to allow oper parsing of URLs (GH-15522)" (GH-16724)
This reverts commit 87bd2071c756188b6cd577889fb1682831142ceb. https://bugs.python.org/issue38449
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-27-01-03-26.bpo-22347._TRpYr.rst2
-rw-r--r--Misc/NEWS.d/next/Library/2019-10-11-18-49-00.bpo-38449.9TWMlz.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.bpo-22347._TRpYr.rst b/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.bpo-22347._TRpYr.rst
deleted file mode 100644
index 1a3c199..0000000
--- a/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.bpo-22347._TRpYr.rst
+++ /dev/null
@@ -1,2 +0,0 @@
-Update mimetypes.guess_type to allow proper parsing of URLs with only a host name.
-Patch by Dong-hee Na.
diff --git a/Misc/NEWS.d/next/Library/2019-10-11-18-49-00.bpo-38449.9TWMlz.rst b/Misc/NEWS.d/next/Library/2019-10-11-18-49-00.bpo-38449.9TWMlz.rst
new file mode 100644
index 0000000..f7b1dbf
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-10-11-18-49-00.bpo-38449.9TWMlz.rst
@@ -0,0 +1,2 @@
+Revert GH-15522, which introduces a regression in
+:meth:`mimetypes.guess_type` due to improper handling of filenames as urls.