Skip to content

Commit

Permalink
fix: remove host from forwarded headers
Browse files Browse the repository at this point in the history
  • Loading branch information
remy committed Aug 25, 2016
1 parent ddf59f1 commit b46eb0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/relay.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function responseHandler(filterRules) {
'x-forwarded-for',
'x-forwarded-proto',
'content-length',
'host',
].map(_ => delete headers[_]);

request({
Expand Down

0 comments on commit b46eb0d

Please sign in to comment.