Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86A3F105C8 for ; Fri, 27 Feb 2015 20:45:57 +0000 (UTC) Received: (qmail 18313 invoked by uid 500); 27 Feb 2015 20:45:57 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 18285 invoked by uid 500); 27 Feb 2015 20:45:57 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 18274 invoked by uid 99); 27 Feb 2015 20:45:57 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2015 20:45:57 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1A6D2E040E; Fri, 27 Feb 2015 20:45:57 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: agrieve@apache.org To: commits@cordova.apache.org Message-Id: <7b1124efc2b5485e976aea73edb06058@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: android commit: Log a warning when a navigation is blocked by the whitelist Date: Fri, 27 Feb 2015 20:45:57 +0000 (UTC) Repository: cordova-android Updated Branches: refs/heads/master f1d093548 -> c237a1c0d Log a warning when a navigation is blocked by the whitelist Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/c237a1c0 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/c237a1c0 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/c237a1c0 Branch: refs/heads/master Commit: c237a1c0d23a7cabc32cbbb7de8ae87ece3a8a7c Parents: f1d0935 Author: Andrew Grieve Authored: Fri Feb 27 15:45:37 2015 -0500 Committer: Andrew Grieve Committed: Fri Feb 27 15:45:37 2015 -0500 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaWebViewImpl.java | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/c237a1c0/framework/src/org/apache/cordova/CordovaWebViewImpl.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaWebViewImpl.java b/framework/src/org/apache/cordova/CordovaWebViewImpl.java index d8faed9..d3f5ec9 100644 --- a/framework/src/org/apache/cordova/CordovaWebViewImpl.java +++ b/framework/src/org/apache/cordova/CordovaWebViewImpl.java @@ -608,6 +608,7 @@ public class CordovaWebViewImpl implements CordovaWebView { } return true; } + LOG.w(TAG, "Blocked navigation because URL was not whitelisted: " + url); // Block by default return true; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org