From d4d138c6e98f0c02ec3c075ff78df11e0ad47f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Fri, 2 Jun 2017 19:19:45 +0200 Subject: [PATCH] url: do not pass WHATWG host to http.request PR-URL: https://github.com/nodejs/node/pull/13409 Refs: https://github.com/nodejs/node/pull/10638 Reviewed-By: Anna Henningsen --- lib/internal/url.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/url.js b/lib/internal/url.js index c7a359f89bb932..14c22e4ff467b6 100644 --- a/lib/internal/url.js +++ b/lib/internal/url.js @@ -1298,7 +1298,6 @@ function domainToUnicode(domain) { function urlToOptions(url) { var options = { protocol: url.protocol, - host: url.host, hostname: url.hostname, hash: url.hash, search: url.search,