Skip to content

Fix "X-Amz-User-Agent" in blacklist #3120

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

Closed
wants to merge 1 commit into from

Conversation

cweiske
Copy link

@cweiske cweiske commented May 12, 2025

The header blacklist contains lowercase header names only, except "X-Amz-User-Agent". This causes this header not to be filtered out, leading to an error with some proxies that remove the empty header:

There were headers present in the request which were not signed.

This commit lowercases the header, which correctly removes the header from the signature.

Related: #2259
Resolves: #3119


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

The header blacklist contains lowercase header names only,
except "X-Amz-User-Agent". This causes this header not to be filtered out,
leading to an error with some proxies that remove the empty header:
> There were headers present in the request which were not signed.

This commit lowercases the header, which correctly removes the header
from the signature.

Related: aws#2259
Resolves: aws#3119
@yenfryherrerafeliz
Copy link
Contributor

Closing in favor of this one.

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.

"X-Amz-User-Agent" causes signature issue with HTTP proxy
2 participants