cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Petrovic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-11868) inappbrowser overrides window.open and doesn't follow allow-intent and allow-navigation restrictions
Date Sun, 18 Sep 2016 12:20:20 GMT
Mladen Petrovic created CB-11868:
------------------------------------

             Summary: inappbrowser overrides window.open and doesn't follow allow-intent and
allow-navigation restrictions
                 Key: CB-11868
                 URL: https://issues.apache.org/jira/browse/CB-11868
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
    Affects Versions: 3.5.0
         Environment: android
            Reporter: Mladen Petrovic
            Priority: Critical


InappBrowser doesn't follow allow-intent and allow-navigation meta tags only in Android.
It also overrides default window.open(uri, '_self');
So when i allow only some urls to be allowed like this:
<allow-navigation href="http://google.com/" />
<allow-intent href="http://google.com" />

I can successfully open yahoo.com via window.open('yahoo.com', '_self');
But if i remove inappBrowser plugin they it follow restriction and will only open google.com

This happens only in Android, not in iOS.



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