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 2016/10/04 15:08:20 UTC

[jira] [Assigned] (CB-11949) target="_blank" for links within whitelist doesn't open

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

Shazron Abdullah reassigned CB-11949:
-------------------------------------

    Assignee: Shazron Abdullah

> target="_blank" for links within whitelist doesn't open
> -------------------------------------------------------
>
>                 Key: CB-11949
>                 URL: https://issues.apache.org/jira/browse/CB-11949
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 4.2.0
>            Reporter: HÃ¥kon Nilsen
>            Assignee: Shazron Abdullah
>
> Links with target="_blank" will not open for URL's that are in whitelist. I.e. with these settings in config.xml:
> <allow-navigation href="https://*.apache.org" />
> <allow-intent href="https://*" />
> And HTML:
> <a href="http://www.apache.org" target="_blank">Test link</a>
> Will not open. This ends up in CDVIntentAndNavigationFilter.m in shouldOverrideLoadWithRequest which simply returns YES. It should, however, open these cases as the case for "CDVIntentAndNavigationFilterValueIntentAllowed".



--
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