[jira] [Commented] (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:comment-tabpanel=15593452#comment-15593452 ] Shazron Abdullah commented on CB-11949: --- I tried it again with the corrected anchor tag, and I cannot repro this bug report. The link still opens. Using: cordova-ios 4.2.1 cordova-cli 6.4.0-nightly.2016.10.13.4759c467 (cordova-lib@6.4.0-nightly.2016.10.13.6a3c7632) > 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: > https://*.apache.org; /> > https://*; /> > And HTML: > https://www.apache.org; target="_blank">Test link > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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:comment-tabpanel=15584652#comment-15584652 ] Håkon Nilsen commented on CB-11949: --- Any chance this issue can get a verification? > 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: > https://*.apache.org; /> > https://*; /> > And HTML: > https://www.apache.org; target="_blank">Test link > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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:comment-tabpanel=15561866#comment-15561866 ] Håkon Nilsen commented on CB-11949: --- I've corrected the issue. > 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: > https://*.apache.org; /> > https://*; /> > And HTML: > https://www.apache.org; target="_blank">Test link > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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:comment-tabpanel=15561863#comment-15561863 ] Håkon Nilsen commented on CB-11949: --- I apologize - that was a typo. It should be https in the a-tag. > 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: > https://*.apache.org; /> > https://*; /> > And HTML: > http://www.apache.org; target="_blank">Test link > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (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:comment-tabpanel=15550155#comment-15550155 ] Shazron Abdullah commented on CB-11949: --- This is correct behaviour -- your allow-navigation and allow-intent tags specify "https" is allowed, while your link is "http". If you add the "http" exceptions, the link opens. > 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: > https://*.apache.org; /> > https://*; /> > And HTML: > http://www.apache.org; target="_blank">Test link > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org