Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
6.0.0
Description
Currently with Whitelist plugin set to <allow-navigation="://domain.com/"> doesn't allow navigation to other domains including urls embedded using iframe on iOS.
EG: If I tried to embed a youtube video using iframe tag with only this rule <allow-navigation="://domain.com/">, it doesn't allow loading of the video in iframe as youtube.com is not listed in allowed domains.
If we add <allow-navigation="://youtube.com/"> it allows 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 allow a domain navigation in iframe and not allow navigation to that domain using other methods like javascript.
Android ignores the allow-navigation rule for iframe loaded urls, so iOS should be modified to behave the same?
Attachments
Issue Links
- relates to
-
CB-12455 iframes are governed by whitelist as well, not just top-level navigations
-
- Open
-