mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
Get the signed headers in the order they were signed (#17690)
use pSignValues to get signed headers in order
This commit is contained in:
parent
535f97ba61
commit
a92cb66468
@ -266,7 +266,7 @@ func doesPresignedSignatureMatch(hashedPayload string, r *http.Request, region s
|
||||
// Construct the query.
|
||||
query.Set(xhttp.AmzDate, t.Format(iso8601Format))
|
||||
query.Set(xhttp.AmzExpires, strconv.Itoa(expireSeconds))
|
||||
query.Set(xhttp.AmzSignedHeaders, getSignedHeaders(extractedSignedHeaders))
|
||||
query.Set(xhttp.AmzSignedHeaders, strings.Join(pSignValues.SignedHeaders, ";"))
|
||||
query.Set(xhttp.AmzCredential, cred.AccessKey+SlashSeparator+pSignValues.Credential.getScope())
|
||||
|
||||
defaultSigParams := set.CreateStringSet(
|
||||
|
Loading…
Reference in New Issue
Block a user