Closed geokollias closed 3 years ago
I think that's the result of URL encoding twice.
urlencode(" ") is "%20"
urlencode("%") is "%25"
So I think that %2520
is the result of urlencode(urlencode(" "))
.
Also, won't we drop the sign based auth in favor of oauth-client creds anyway?
EDIT: I just noticed that the double encoding is already mentioned in the quoted docs added by george
Also, won't we drop the sign based auth in favor of oauth-client creds anyway?
Yeah, but since we found the issue anyway I figured better to fix it.
Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-3804.
This link is only accessible to employees of RelationalAI.
Request signing follows the AWS v4 spec. According to it:
As an example,
/documents and settings
should be encoded to/documents%2520and%2520settings
. Similarly,/users/auth0|60e58bb864244200711c30ae
should be encoded to/users/auth0%257C60e58bb864244200711c30ae
.Currently, no such encoding takes place.