Issue #5443 - Forwarding Headers are optional
The `X-Proxied-Https: off` case should have an implied port not a hardcoded port. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
457025bc16
commit
0721178007
|
@ -880,7 +880,7 @@ public class ForwardedRequestCustomizer implements Customizer
|
||||||
{
|
{
|
||||||
_secure = false;
|
_secure = false;
|
||||||
updateProto(HttpScheme.HTTP.asString(), Source.XPROXIED_HTTPS);
|
updateProto(HttpScheme.HTTP.asString(), Source.XPROXIED_HTTPS);
|
||||||
updatePort(80, Source.XPROXIED_HTTPS);
|
updatePort(MutableHostPort.IMPLIED, Source.XPROXIED_HTTPS);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue