cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Håkon Nilsen (JIRA) <>
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
             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://*" />
<allow-intent href="https://*" />

<a href="" 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message