Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
4.2.0
-
None
-
None
Description
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="https://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".