Skip to content

Canonicalize the correct side of the name comparison when verifying sdist filenames with post releases #15825

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 2 commits into from
Apr 19, 2024

Conversation

di
Copy link
Member

@di di commented Apr 19, 2024

Fixes WAREHOUSE-PRODUCTION-1Y6.

The project name is already canonicalized after calling parse_sdist_filename, what we actually need to canonicalize is the name that was provided to us in the POST data, which isn't guaranteed to be canonicalized.

di added 2 commits April 19, 2024 18:40
The project name is already canonicalized after calling
`parse_sdist_filename`, what we actually need to canonicalize is the
name that was provided to us in the POST data, which isn't guaranteed to
be canonicalized.
@di di requested a review from a team as a code owner April 19, 2024 18:44
@di di enabled auto-merge (squash) April 19, 2024 18:44
@di di merged commit 97d8de8 into pypi:main Apr 19, 2024
@di di deleted the fix/WAREHOUSE-PRODUCTION-1Y6 branch April 19, 2024 18:53
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.

2 participants