Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

kumaraditya303
Copy link
Contributor

@kumaraditya303 kumaraditya303 commented Dec 22, 2021

Copy link
Member

@sobolevn sobolevn left a 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?

@kumaraditya303
Copy link
Contributor Author

kumaraditya303 commented Dec 23, 2021

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?

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.

@kumaraditya303 kumaraditya303 requested review from JelleZijlstra and removed request for a team March 10, 2022 09:25
Copy link
Member

@JelleZijlstra JelleZijlstra left a 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.

@asvetlov asvetlov changed the title bpo-20392: Fix inconsistency with uppercase file extensions in mimety… bpo-20392: Fix inconsistency with uppercase file extensions in mimetypes.guess_type Mar 15, 2022
@asvetlov asvetlov merged commit 5dd7ec5 into python:main Mar 15, 2022
@kumaraditya303 kumaraditya303 deleted the issue20392 branch March 15, 2022 13:28
@asvetlov asvetlov added needs backport to 3.9 only security fixes needs backport to 3.10 only security fixes labels Mar 15, 2022
@miss-islington
Copy link
Contributor

Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Thanks @kumaraditya303 for the PR, and @asvetlov for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 15, 2022
…pes.guess_type (pythonGH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Mar 15, 2022
@bedevere-bot
Copy link

GH-31904 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 15, 2022
…pes.guess_type (pythonGH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
miss-islington added a commit that referenced this pull request Mar 15, 2022
…pes.guess_type (GH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
miss-islington added a commit that referenced this pull request Mar 15, 2022
…pes.guess_type (GH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…pes.guess_type (pythonGH-30229)

(cherry picked from commit 5dd7ec5)

Co-authored-by: Kumar Aditya <[email protected]>
@hugovk hugovk removed the needs backport to 3.9 only security fixes label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants