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

Lowercase hostname when generating canonical headers #187

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

bfrobin446
Copy link
Contributor

If we force the hostname to lower case when generating the canonical headers for the request signature, as suggested by the "must be trimmed and lowercase" comment above, we don't generate a confusing signature error when the user types the hostname in mixed case.

This fixes #186.

@okigan okigan merged commit 2587171 into okigan:master Oct 12, 2023
14 checks passed
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.

awscurl generates an incorrect request signature when user-supplied hostname includes capital letters.
2 participants