You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Edna Morales (JIRA)" <ji...@apache.org> on 2014/09/03 17:56:52 UTC

[jira] [Commented] (CB-7380) mobilespec's whitelist test for file:///etc/foo is failing

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

Edna Morales commented on CB-7380:
----------------------------------

So for Android, is the "file:///" scheme always accepted? Because on iOS it looks like the schemes that are always accepted are http, https, ftp, ftps. So should file be added to that list?

> mobilespec's whitelist test for file:///etc/foo is failing
> ----------------------------------------------------------
>
>                 Key: CB-7380
>                 URL: https://issues.apache.org/jira/browse/CB-7380
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: mobile-spec
>            Reporter: Marcel Kinard
>            Assignee: Marcel Kinard
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> Error when running on Android: Whitelist API (cordova.whitelist) Match function should reject file:///etc/foo for ["file:///foo*"]
> I believe this is failing because "file:///* is an implicitly-added pattern that was recently added.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)