Mediaproxy encoding S3 links incorrectly
S3 links which expire have credentials, signature, and parameters included. We are encoding/decoding the links incorrectly and they fail. e.g., %2F
ends up becoming /
which is wrong.
https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html
The X-Amz-Credential value in the URL shows the "/" character only for readability. In practice, it should be encoded as %2F. For example:
&X-Amz-Credential=%2F20130721%2Fus-east-1%2Fs3%2Faws4_request