Skip to content

Commit 4d89e3c

Browse files
committed
url: do not pass WHATWG host to http.request
PR-URL: #13409 Refs: #10638 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent 1dc3272 commit 4d89e3c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/internal/url.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,6 @@ function domainToUnicode(domain) {
12981298
function urlToOptions(url) {
12991299
var options = {
13001300
protocol: url.protocol,
1301-
host: url.host,
13021301
hostname: url.hostname,
13031302
hash: url.hash,
13041303
search: url.search,

0 commit comments

Comments
 (0)