Skip to content

Commit d05d03f

Browse files
RanVakninRan Vaknin
and
Ran Vaknin
authored
Add x-amz-expected-bucket-owner as a header the SDK needs to sign (#5062)
* Add x-amz-expected-bucket-owner to headers to sign in presigned URL * changelog added * updated changelog --------- Co-authored-by: Ran Vaknin <[email protected]>
1 parent a359223 commit d05d03f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG_PENDING.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### SDK Features
22

33
### SDK Enhancements
4+
"x-amz-expected-bucket-owner" header was added to the list of headers that need to be presigned
45

56
### SDK Bugs

aws/signer/v4/v4.go

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ var requiredSignedHeaders = rules{
125125
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Algorithm": struct{}{},
126126
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key": struct{}{},
127127
"X-Amz-Copy-Source-Server-Side-Encryption-Customer-Key-Md5": struct{}{},
128+
"X-Amz-Expected-Bucket-Owner": struct{}{},
128129
"X-Amz-Grant-Full-control": struct{}{},
129130
"X-Amz-Grant-Read": struct{}{},
130131
"X-Amz-Grant-Read-Acp": struct{}{},

0 commit comments

Comments
 (0)