Skip to content
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

FIX: Ensure rejecting URLs starting with space #2378

Merged
merged 6 commits into from
Jun 27, 2023

Conversation

kamil-certat
Copy link
Contributor

The gh-102153 change in CPython modified how
urllib.pare handles URLs with the leading
spaces. To ensure previous behaviour, additional
check was added.

Closes: #2377

The gh-102153 change in CPython modified how
urllib.pare handles URLs with the leading
spaces. To ensure previous behaviour, additional
check was added.

Closes: certtools#2377
@kamil-certat kamil-certat requested review from gethvi and sebix June 14, 2023 12:07
@sebix sebix added bug Indicates an unexpected problem or unintended behavior component: core labels Jun 21, 2023
@sebix sebix added this to the 3.2.0 milestone Jun 21, 2023
Without pinning the version, codespell is regulary
failing after releasing their new version with
new dictionary.
More restrict validation in urllib causes troubles
when processing invalid URLs. The correct solution
on our side is at the moment unclear, see certtools#2382
@kamil-certat kamil-certat requested a review from sebix June 22, 2023 11:41
@kamil-certat
Copy link
Contributor Author

@sebix Could you take a look, if after my last changes you still approve the PR?

@sebix sebix merged commit 5bb8b78 into certtools:develop Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior component: core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regression due to Python change in urllib
2 participants