cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Håkon Nilsen (JIRA) <j...@apache.org>
Subject [jira] [Created] (CB-11949) target="_blank" for links within whitelist doesn't open
Date Tue, 04 Oct 2016 07:39:20 GMT
Håkon Nilsen created CB-11949:
---------------------------------

             Summary: 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: CordovaLib, iOS
    Affects Versions: 4.2.0
            Reporter: Håkon Nilsen


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


Mime
View raw message