diff --git a/lib/url.js b/lib/url.js index 99228c123e5e2c..da10071416b1e9 100644 --- a/lib/url.js +++ b/lib/url.js @@ -377,7 +377,7 @@ Url.prototype.parse = function parse(url, parseQueryString, slashesDenoteHost) { } // pull out port. - this.parseHost(url); + this.parseHost(); // We've indicated that there is a hostname, // so even if it's empty, it has to be present.