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

[jira] [Created] (ARROW-7648) [C++] Sanitize local paths on Windows

Antoine Pitrou created ARROW-7648:
-------------------------------------

             Summary: [C++] Sanitize local paths on Windows
                 Key: ARROW-7648
                 URL: https://issues.apache.org/jira/browse/ARROW-7648
             Project: Apache Arrow
          Issue Type: Wish
          Components: C++
            Reporter: Antoine Pitrou


One way or the other, we should try to sanitize local filesystem paths on Windows, by converting backslashes into regular slahes.

One place to do it is {{FileSystemFromUri}}. One complication is that \-separated paths can fail parsing as a URI, but we only want to sanitize a path if we detected it's a local path (by parsing the URI). Perhaps trying on error would work.



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