You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/09/14 17:24:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-9859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-9859.
-----------------------------------
    Resolution: Fixed

Issue resolved by pull request 8185
[https://github.com/apache/arrow/pull/8185]

> [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
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> 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)