diff --git a/src/http.js b/src/http.js index 1f3ee39cc6..bef88bcbe3 100644 --- a/src/http.js +++ b/src/http.js @@ -66,7 +66,11 @@ node.http.parseUri = function (str) { } }); uri.toString = function () { return str; }; - + + for (var i = o.key.length - 1; i >= 0; i--){ + if (uri[o.key[i]] == "") delete uri[o.key[i]]; + }; + return uri; };