Skip to content

Commit

Permalink
Allowlist bucket owner header (#2358)
Browse files Browse the repository at this point in the history
  • Loading branch information
RanVaknin authored Nov 8, 2023
1 parent 5118d3b commit efa5486
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .changelog/b772315fdda94ce895c4cae2bbef10ce.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"id": "b772315f-dda9-4ce8-95c4-cae2bbef10ce",
"type": "bugfix",
"description": "added x-amz-expected-bucket-owner to the list of headers we should sign",
"modules": [
"."
]
}
1 change: 1 addition & 0 deletions aws/signer/internal/v4/headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ var RequiredSignedHeaders = Rules{
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": struct{}{},
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key": struct{}{},
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5": struct{}{},
"X-Amz-Expected-Bucket-Owner": struct{}{},
"X-Amz-Grant-Full-control": struct{}{},
"X-Amz-Grant-Read": struct{}{},
"X-Amz-Grant-Read-Acp": struct{}{},
Expand Down

0 comments on commit efa5486

Please sign in to comment.