You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ey...@apache.org on 2016/04/04 18:27:00 UTC

[04/28] ios commit: revert bad fix for CB-10828 I blame node 5.7.0

revert bad fix for CB-10828 I blame node 5.7.0


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

Branch: refs/heads/4.1.x
Commit: 70e16ef6e1c2b32f2e3ff88b64dfa8a2754d548b
Parents: af96840
Author: Carlos Santana <cs...@gmail.com>
Authored: Wed Mar 9 19:30:39 2016 -0500
Committer: Carlos Santana <cs...@gmail.com>
Committed: Wed Mar 9 19:30:39 2016 -0500

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/prepare.js | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/70e16ef6/bin/templates/scripts/cordova/lib/prepare.js
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/prepare.js b/bin/templates/scripts/cordova/lib/prepare.js
index 4cf8ac8..1e90f8e 100644
--- a/bin/templates/scripts/cordova/lib/prepare.js
+++ b/bin/templates/scripts/cordova/lib/prepare.js
@@ -431,10 +431,6 @@ function processAccessAndAllowNavigationEntries(config) {
 function parseWhitelistUrlForATS(url, minimum_tls_version, requires_forward_secrecy) {
     var href = URL.parse(url);
     var retObj = {};
-    if(!href.pathname){
-      return null;
-    }
-    
     retObj.Hostname = href.hostname;
 
     if (url === '*') {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org