Return 443 as the default port for a request in case we don't have a (parsable) X-Forwarded-Port.
@@ -117,8 +117,8 @@ class SslFilterRequest extends HttpServletRequestWrapper
}
catch (Exception e)
{
- // Use default port for the used protocol...
- port = getRequest().getServerPort();
+ // Use default port
+ port = 443;
}
return port;
}
