cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject android commit: Log a warning when a navigation is blocked by the whitelist
Date Fri, 27 Feb 2015 20:45:57 GMT
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 <agrieve@chromium.org>
Authored: Fri Feb 27 15:45:37 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
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


Mime
View raw message