Skip to content

Commit efa5486

Browse files
authored
Allowlist bucket owner header (#2358)
1 parent 5118d3b commit efa5486

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "b772315f-dda9-4ce8-95c4-cae2bbef10ce",
3+
"type": "bugfix",
4+
"description": "added x-amz-expected-bucket-owner to the list of headers we should sign",
5+
"modules": [
6+
"."
7+
]
8+
}

aws/signer/internal/v4/headers.go

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ var RequiredSignedHeaders = Rules{
3838
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": struct{}{},
3939
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key": struct{}{},
4040
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5": struct{}{},
41+
"X-Amz-Expected-Bucket-Owner": struct{}{},
4142
"X-Amz-Grant-Full-control": struct{}{},
4243
"X-Amz-Grant-Read": struct{}{},
4344
"X-Amz-Grant-Read-Acp": struct{}{},

0 commit comments

Comments
 (0)