Skip to content

aws/request: Fix SDK's handling of endpoints ending in slash #3926

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

Merged
merged 3 commits into from
May 27, 2021

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented May 26, 2021

Fixes the SDK's handling of endpoints that end in a slash (/) causing
signature validation errors due to Request.HTTPRequest.URL.Path not
matching what was sent in the request.

Squashes the duplicate slash character between endpoint's path and
operation path.

@jasdel jasdel requested review from skmcgrail and skotambkar May 26, 2021 18:04
@jasdel jasdel force-pushed the fixup/TrailingSlash branch from f7b0282 to acb0008 Compare May 26, 2021 19:21
jasdel added 3 commits May 27, 2021 14:10
Fixes the SDK's handling of endpoints that end in a slash (`/`) causing
signature validation errors due to Request.HTTPRequest.URL.Path not
matching what was sent in the request.

Squashes the duplicate slash character between endpoint's path and
operation path.
@jasdel jasdel force-pushed the fixup/TrailingSlash branch from acb0008 to 424b8c1 Compare May 27, 2021 21:44
@jasdel jasdel merged commit 76fe6ef into aws:main May 27, 2021
@jasdel jasdel deleted the fixup/TrailingSlash branch May 27, 2021 22:38
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