You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bryan Higgins (JIRA)" <ji...@apache.org> on 2013/05/21 17:35:16 UTC

[jira] [Commented] (CB-2901) [BlackBerry10] File API does not handle files outside of sandbox

    [ https://issues.apache.org/jira/browse/CB-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663058#comment-13663058 ] 

Bryan Higgins commented on CB-2901:
-----------------------------------

This issue also applies to the new BB10 implementation, across the entire file API.

In the WebWorks SDK, there is an API call "blackberry.io.sandbox" which determines if local storage will be used or file system API.

Ideally this will be transparent to the user in cordova. If a file:/// path is requested, an un-sandbox operation will occur. The call will error out if the app does not have permission.
                
> [BlackBerry10] File API does not handle files outside of sandbox
> ----------------------------------------------------------------
>
>                 Key: CB-2901
>                 URL: https://issues.apache.org/jira/browse/CB-2901
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 1.5.0
>            Reporter: Bryan Higgins
>            Assignee: Bryan Higgins
>             Fix For: 2.8.0
>
>
> Use of resolveLocalFileURI prevents access to files outside of the sandbox.
> I'm working on a fix.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira