summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-03-26 11:26:45 (GMT)
committerGitHub <noreply@github.com>2024-03-26 11:26:45 (GMT)
commit9654daf793b534b44a831c80f43505ab9e380f1f (patch)
treed048cb8721453df642d49c074de516f1d7a8bee3 /Misc
parent8bef34f625e21886b1c64544c060e19ee2e229bf (diff)
downloadcpython-9654daf793b534b44a831c80f43505ab9e380f1f.zip
cpython-9654daf793b534b44a831c80f43505ab9e380f1f.tar.gz
cpython-9654daf793b534b44a831c80f43505ab9e380f1f.tar.bz2
gh-66543: Fix mimetype.guess_type() (GH-117217)
Fix parsing of the following corner cases: * URLs with only a host name * URLs containing a fragment * URLs containing a query * filenames with only a UNC sharepoint on Windows Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-08-27-01-03-26.gh-issue-66543._TRpYr.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.gh-issue-66543._TRpYr.rst b/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.gh-issue-66543._TRpYr.rst
new file mode 100644
index 0000000..62f7aa2
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-08-27-01-03-26.gh-issue-66543._TRpYr.rst
@@ -0,0 +1,4 @@
+Make :func:`mimetypes.guess_type` properly parsing of URLs with only a host
+name, URLs containing fragment or query, and filenames with only a UNC
+sharepoint on Windows.
+Based on patch by Dong-hee Na.