bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type#30229
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type#30229asvetlov merged 4 commits intopython:mainfrom
Conversation
sobolevn
left a comment
There was a problem hiding this comment.
Thanks!
From looking on the original patch, it looks like that you've missed this part:
- The suffixes .tgz, .taz and .tz (case sensitive!) are all
+ The suffixes .tgz, .taz and .tz are allIs it intentional?
Misc/NEWS.d/next/Library/2021-12-22-12-02-27.bpo-20392.CLAFIp.rst
Outdated
Show resolved
Hide resolved
I haven't applied that patch and as you commented I even tried to apply it now but it is outdated so not worth copy pasting. |
4b59fa0 to
c6a8e05
Compare
c6a8e05 to
5fe0a36
Compare
JelleZijlstra
left a comment
There was a problem hiding this comment.
Looks right but I'm not comfortable merging this; I'd like to hear from someone more familiar with MIME types first.
|
Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
|
Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10. |
…pes.guess_type (pythonGH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
|
GH-31904 is a backport of this pull request to the 3.10 branch. |
…pes.guess_type (pythonGH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
…pes.guess_type (pythonGH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
https://bugs.python.org/issue20392