From 991d54c62347c5dee30e8d89443b389febdd96c4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 15 Oct 2022 10:29:09 -0700 Subject: [PATCH] fixup! url: improve port validation --- lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.