Skip to content

Commit

Permalink
Properly handle authority-pseudo header in the ForwardedParser
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Nov 16, 2023
1 parent 2c45aa6 commit 86d5c1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private void calculate() {
calculated = true;
remoteAddress = delegate.remoteAddress();
scheme = delegate.scheme();
setHostAndPort(delegate.getHeader(HttpHeaders.HOST), port);
setHostAndPort(delegate.host(), port);
uri = delegate.uri();

if (trustedProxyCheck.isProxyAllowed()) {
Expand Down

0 comments on commit 86d5c1a

Please sign in to comment.