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 <[email protected]>
Authored: Wed Mar 9 19:30:39 2016 -0500
Committer: Carlos Santana <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to