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 authored and jasnell committed Jun 5, 2017
1 parent 8c7f9da commit d4d138c
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 d4d138c

Please sign in to comment.