You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/08/25 20:43:00 UTC

[jira] [Created] (ARROW-9859) [C++] S3 FileSystemFromUri with special char in secret key fails

Neal Richardson created ARROW-9859:
--------------------------------------

             Summary: [C++] S3 FileSystemFromUri with special char in secret key fails
                 Key: ARROW-9859
                 URL: https://issues.apache.org/jira/browse/ARROW-9859
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++, Documentation, Python
            Reporter: Neal Richardson
             Fix For: 2.0.0


S3 Secret access keys can contain special characters like {{/}}. When they do

1) FileSystemFromUri will fail to parse the URI unless you URL-encode them (e.g. replace / with %2F)
2) When you do escape the special characters, requests that require authorization fail with the message "The request signature we calculated does not match the signature you provided. Check your key and signing method." This may suggest that there's some extra URL encoding/decoding that needs to happen inside.

I was only able to work around this by generating a new access key that happened not to have special characters.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)