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 <anna@addaleax.net>
This commit is contained in:
Tobias Nießen committed 2017-06-04 19:39:03 +02:00
1 parent 1dc3272bb9
commit 4d89e3c261
1 file changed
-1
-1
View File
@@ -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,