Skip to content

Commit

Permalink
Merge pull request quarkusio#37135 from cescoffier/fix-37045
Browse files Browse the repository at this point in the history
Properly handle authority-pseudo header in the ForwardedParser
  • Loading branch information
aloubyansky authored Nov 16, 2023
2 parents 97cf6dc + 86d5c1a commit 141acfd
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 141acfd

Please sign in to comment.