cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Youssef El Houti (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10709) Allow-navigation rule for iFrame urls on cordova-ios
Date Tue, 01 Mar 2016 22:58:18 GMT

    [ https://issues.apache.org/jira/browse/CB-10709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174571#comment-15174571
] 

Youssef El Houti commented on CB-10709:
---------------------------------------

Hi, thank you for reporting the bug, I encountered the same one.
Maybe it is worth to mention that this was working in the last version 3.9.x of cordova-ios
and stopped working with the bug version update to 4.0.0.
If you really need this functionality, you can in the mean time use the 3.x.x version by removing
the platform using: "cordova platfrom rm ios" and adding it back with old version "cordova
platfrom add ios@3" hope this issue get assigned and fixed quickly.

> Allow-navigation rule for iFrame urls on cordova-ios
> ----------------------------------------------------
>
>                 Key: CB-10709
>                 URL: https://issues.apache.org/jira/browse/CB-10709
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin Whitelist
>    Affects Versions: 6.0.0
>            Reporter: Harsha Kiran
>            Priority: Critical
>              Labels: cordova-ios-4.1.1, triaged
>
> Currently with Whitelist plugin set to <allow-navigation="*://domain.com/*"> doesn't
allow navigation to other domains embedded using iframe on iOS
> EG: youtube video embedded using iframe tag.
> Adding <allow-navigation="*://youtube.com/*"> will allow the loading of iframe
but will also allow navigation to youtube.com using Javascript i.e window.open('http://youtube.com').

> With current implementation in cordova-ios, I'm not sure if there is any solution to
allowing a domain navigation in iframe only and not allow the domain navigation using other
methods like javascript.
> Android ignores the allow-navigation rule for iframe loaded urls, so iOS should be modified
to behave the same?



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