You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Oleg Khorev (JIRA)" <ji...@apache.org> on 2016/09/13 15:08:20 UTC

[jira] [Created] (CB-11841) Phonegap on Android - restrict with only certain domain does not work. I use access origin.

Oleg Khorev created CB-11841:
--------------------------------

             Summary: Phonegap on Android - restrict with only certain domain does not work. I use access origin.
                 Key: CB-11841
                 URL: https://issues.apache.org/jira/browse/CB-11841
             Project: Apache Cordova
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Plugin Whitelist
            Reporter: Oleg Khorev


I set config.xml
    <plugin name="cordova-plugin-whitelist" spec="https://github.com/apache/cordova-plugin-whitelist.git" />
<allow-navigation href="http://domain.net/*" />
<access origin="http://domain.net" browserOnly="true" />
 
 
But App still can open other domains inside App. It works fine on iOS and restrict there to only defined domains - so if I click external link nothing happens. Only if I click my allowed domain name - it loads. But on Android it loads all URLs.



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