You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I GetObject use Chinese key but get error "The request signature we calculated does not match the signature you provided.".
I change DisableURIPathEscaping to true in source and get success.
aws source source code
new client with default DisableURIPathEscaping=true
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I GetObject use Chinese key but get error "The request signature we calculated does not match the signature you provided.".
I change DisableURIPathEscaping to true in source and get success.
aws source source code
new client with default DisableURIPathEscaping=true
aws-sdk-go-v2/service/s3/api_client.go
Line 631 in e211ac0
but in Signer.SignHTTP
aws-sdk-go-v2/aws/signer/v4/v4.go
Line 276 in e211ac0
DisableURIPathEscaping change to false
optFns has one member V4SignerAdapter.SignRequest
aws-sdk-go-v2/internal/auth/smithy/v4signer_adapter.go
Line 46 in e211ac0
after this line DisableURIPathEscaping change to false
How to change DisableURIPathEscaping in a new request ?
my code
Beta Was this translation helpful? Give feedback.
All reactions