-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type #30229
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 all
Is 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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <[email protected]>
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 <[email protected]>
…pes.guess_type (GH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <[email protected]>
…pes.guess_type (GH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <[email protected]>
…pes.guess_type (pythonGH-30229) (cherry picked from commit 5dd7ec5) Co-authored-by: Kumar Aditya <[email protected]>
https://bugs.python.org/issue20392