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

allow slashes in git url parameters #35552

Merged
merged 1 commit into from
Aug 12, 2024
Merged

Conversation

jbardin
Copy link
Member

@jbardin jbardin commented Aug 9, 2024

Git URL refs often contain slashes, and while it's technically not correct to have unencoded slashes in the query, they were being split off and incorrectly appended to the path as a go-getter subdir. (This was likely part of the PR which pulled a lot of the behavior into the Terraform repo #34847) The behavior was definitely incorrect, and since Terraform apparently accepted unencoded slashes in query parameters in the past, we can just restore the prior behavior rather than rejecting unencoded slashes entirely.

Fixes #34554

Git url refs often contain slashes, which were incorrectly being split
and appended to the path as a go-getter subdir.
@jbardin jbardin requested a review from a team August 9, 2024 18:12
@crw crw added the enhancement label Aug 9, 2024
@jbardin jbardin merged commit 761d1d2 into main Aug 12, 2024
6 checks passed
@jbardin jbardin deleted the jbardin/get-git-param-slash branch August 12, 2024 14:08
Copy link
Contributor

Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch.

Copy link
Contributor

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to reference modules with slash in ref name
3 participants