cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject ios commit: Prevented automatic logging of whitelist failures.
Date Thu, 24 Oct 2013 18:57:08 GMT
Updated Branches:
  refs/heads/master e71f907b8 -> 404f6ea2c


Prevented automatic logging of whitelist failures.


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/404f6ea2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/404f6ea2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/404f6ea2

Branch: refs/heads/master
Commit: 404f6ea2c58f0677ca6d87cc3ad58d1e8772d1c5
Parents: e71f907
Author: Max Woghiren <max.woghiren@gmail.com>
Authored: Thu Oct 24 14:56:48 2013 -0400
Committer: Max Woghiren <max.woghiren@gmail.com>
Committed: Thu Oct 24 14:56:48 2013 -0400

----------------------------------------------------------------------
 CordovaLib/Classes/CDVCommandDelegateImpl.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/404f6ea2/CordovaLib/Classes/CDVCommandDelegateImpl.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVCommandDelegateImpl.m b/CordovaLib/Classes/CDVCommandDelegateImpl.m
index fa0e5e0..3e68bd4 100644
--- a/CordovaLib/Classes/CDVCommandDelegateImpl.m
+++ b/CordovaLib/Classes/CDVCommandDelegateImpl.m
@@ -134,7 +134,7 @@
 - (BOOL)URLIsWhitelisted:(NSURL*)url
 {
     return ![_viewController.whitelist schemeIsAllowed:[url scheme]] ||
-           [_viewController.whitelist URLIsAllowed:url];
+           [_viewController.whitelist URLIsAllowed:url logFailure:NO];
 }
 
 - (NSDictionary*)settings


Mime
View raw message