-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
fix S3 pre-signed logic for IGNORED_SIGV4_HEADERS #9609
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
Conversation
0f4221c to
e6aba66
Compare
| ALLOWED_QUERY_PARAMS = [ | ||
| "x-id", | ||
| "x-amz-user-agent", | ||
| "x-amz-content-sha256", | ||
| "versionid", | ||
| "uploadid", | ||
| "partnumber", | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was not used anywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, @bentsku! 🙇♀️ 🚀
Love that the test is even aws validated ❤️ and very smart test setup with the meta-events 😄
This is already a very specific case for S3, the new provider is truely amazing 🚀 👏
Just added a few NITs, but nothing blocking the merge!
9d278f4 to
5297618
Compare
Motivation
Following up on #9603, I've quickly investigated the issue for the pre-signed URL message showing a non valid signature for a very simple request and quickly found the issue related to signed headers being in the ignore list.
Changes
SignedHeaders, and only ignore if they're missing