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 query params being double-encoded #213

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Fix query params being double-encoded #213

merged 1 commit into from
Jul 26, 2023

Conversation

maxb
Copy link
Contributor

@maxb maxb commented Jul 26, 2023

It is inappropriate to be encoding them in the templated code. They get
passed into the HTTP client which encodes them again!

Also, restructure the affected chunk of Handlebars to be easier to read.

It is inappropriate to be encoding them in the templated code. They get
passed into the HTTP client which encodes them again!

Also, restructure the affected chunk of Handlebars to be easier to read.
Copy link
Collaborator

@averche averche left a comment

Choose a reason for hiding this comment

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

Good find, thanks!

@averche averche merged commit 2216434 into hashicorp:main Jul 26, 2023
@maxb maxb deleted the fix-double-encoded-queryparams branch July 26, 2023 21:51
@averche averche mentioned this pull request Sep 18, 2023
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