Skip to content

Commit

Permalink
url: do not pass WHATWG host to http.request
Browse files Browse the repository at this point in the history
PR-URL: #13409
Refs: #10638
Reviewed-By: Anna Henningsen <[email protected]>
  • Loading branch information
tniessen committed Jun 4, 2017
1 parent 1dc3272 commit 4d89e3c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4d89e3c

Please sign in to comment.