You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (Jira)" <ji...@apache.org> on 2020/06/24 17:01:00 UTC
[jira] [Closed] (CB-11841) Phonegap on Android - restrict with only
certain domain does not work. I use access origin.
[ https://issues.apache.org/jira/browse/CB-11841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-11841.
-----------------------------
Resolution: Cannot Reproduce
I can't reproduce
If somebody still faces the issue, please, report it on https://github.com/apache/cordova-android/issues
> 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
> Components: cordova-plugin-whitelist
> Reporter: Oleg Khorev
> Priority: Major
>
> 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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org