mirror of
https://github.com/mattermost/mattermost.git
synced 2026-11-02 16:54:42 +08:00
If the request is routed via bifrost, then we need to encode the path to avoid signature validation errors. This happens because in bifrost, we are signing the URL outside the SDK and therefore the signature sent from the bifrost client will contain the encoded path, whereas the original path is sent un-encoded. More info at: https://github.com/aws/aws-sdk-go/blob/a57c4d92784a43b716645a57b6fa5fb94fb6e419/aws/signer/v4/v4.go#L8 https://mattermost.atlassian.net/browse/MM-51753 ```release-note NONE ```