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 non-compliant Git URL matching #2018

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

amarshall
Copy link
Contributor

RFC 3986 § 2.3 permits more characters in a URL than were matched. This corrects that, though there may be other deficiencies. This was a regression from v1.0.2, where at least “.” was matched without error.

Specifically, this had failed for us upon upgrading to v1.0.3 for a Git URL whose path contained akin to “foo.bar.git”.

RFC 3986 § 2.3 permits more characters in a URL than were matched. This
corrects that, though there may be other deficiencies. This was a
regression from v1.0.2, where at least “.” was matched without error.
Copy link
Member

@finswimmer finswimmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for your contribution! 👍

Good to know there is a RFC about this :)

@finswimmer finswimmer added the kind/bug Something isn't working as expected label Feb 11, 2020
@finswimmer finswimmer merged commit 7d5934e into python-poetry:master Feb 11, 2020
@amarshall amarshall deleted the fix-git-url-pattern branch April 18, 2020 17:30
Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants