mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Fixes apache/cordova-android#473: Do not attempt an activity intent AND a url load into the webview, return from the internal webview load.
This commit is contained in:
parent
ebbd91f87d
commit
c0188ab95a
@ -216,8 +216,10 @@ public class CordovaWebViewImpl implements CordovaWebView {
|
||||
// TODO: What about params?
|
||||
// Load new URL
|
||||
loadUrlIntoView(url, true);
|
||||
return;
|
||||
} else {
|
||||
LOG.w(TAG, "showWebPage: Refusing to load URL into webview since it is not in the <allow-navigation> whitelist. URL=" + url);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!pluginManager.shouldOpenExternalUrl(url)) {
|
||||
|
Loading…
Reference in New Issue
Block a user