diff --git a/framework/src/org/apache/cordova/CordovaWebViewImpl.java b/framework/src/org/apache/cordova/CordovaWebViewImpl.java index fb99c3443b..1db2e95545 100644 --- a/framework/src/org/apache/cordova/CordovaWebViewImpl.java +++ b/framework/src/org/apache/cordova/CordovaWebViewImpl.java @@ -216,8 +216,10 @@ public void showWebPage(String url, boolean openExternal, boolean clearHistory, // 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 whitelist. URL=" + url); + return; } } if (!pluginManager.shouldOpenExternalUrl(url)) {