You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2015/12/22 23:11:46 UTC

[jira] [Commented] (CB-10245) Whitelist error iOS@4.0.1

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

Shazron Abdullah commented on CB-10245:
---------------------------------------

I know it might be disconcerting, but this is a harmless log line -- we can improve this in the future.

This did occur in 4.0.0, you probably didn't notice it (I re-tested with 4.0.0, just in case).

This is the current filter behaviour for anchor (<a>) tags in 4.x, it goes through the <allow-intent> filter first, and if that fails, it goes through the <allow-navigation> filter. In this case, it fails the <allow-intent> filter, but passes the <allow-navigation> filter. The error messages are printed out automatically for each filter

Ideally it should not print out the errors until it fails both, but that's the way it is right now.

<allow-intent> and <allow-navigation> definitions:
https://github.com/apache/cordova-plugin-whitelist/blob/master/README.md

> Whitelist error iOS@4.0.1
> -------------------------
>
>                 Key: CB-10245
>                 URL: https://issues.apache.org/jira/browse/CB-10245
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.0.1
>            Reporter: Arch
>
> Hi,
> In 4.0.1 I am seeing this error:
> ERROR External navigation rejected - <allow-intent> not set for url='file:///Path/CoreSimulator/Devices/981878F5-69B7-4F91-BED8-AC26C9666514/data/Containers/Bundle/Application/504BFE77-7857-47CA-A9A8-A7F7F986C413/Test.app/www/index.html#signin'
> Note: index.html#signin
> There is no error when index.html is loaded. I did not notice this error in 4.0.0
> Thanks,



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org