Skip to content

Commit 79232b5

Browse files
committed
Merge pull request #115 from carouselapps/null-protocol
Consider null protocol as missing protocol, not an unsupported one.
2 parents 17b03f9 + 50be686 commit 79232b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/XMLHttpRequest.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ exports.XMLHttpRequest = function() {
284284
break;
285285

286286
case undefined:
287+
case null:
287288
case "":
288289
host = "localhost";
289290
break;

0 commit comments

Comments
 (0)