Skip to content

Conversation

@AllanZhengYP
Copy link
Contributor

Issue

Resolves: #2726

Description

When presigning requests, the presigner will put the request's hostanme into the host header. However, when presigning a request with custom port (not 443, 80), the port is missed from the host header. Thus the signature will mismatch. This change fixes the issue.

Testing

Unit test


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP merged commit 3fe226b into aws:main Sep 10, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

presigning an endpoint with port doesn't work

2 participants