We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe36076 commit 4bd3620Copy full SHA for 4bd3620
1 file changed
lib/url.js
@@ -276,7 +276,6 @@ Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
276
var p = this.port ? ':' + this.port : '';
277
var h = this.hostname || '';
278
this.host = h + p;
279
- this.href += this.host;
280
281
// strip [ and ] from the hostname
282
// the host field still retains them, though
0 commit comments