New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type #30229
Conversation
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. |
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 |
|
Thanks @kumaraditya303 for the PR, and @asvetlov for merging it |
…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>
https://bugs.python.org/issue20392