Closed
Description
In the Grizzly provider there is some code to determine the URI it uses the main request's URI to detect SSL or not when it should use the one from the HttpContext.. Anyway it basically fails to set the secure flag.
final Request req = httpCtx.request;
- final URI uri = req.isUseRawUrl() ? req.getRawURI() : req.getURI();
+ final URI uri = req.isUseRawUrl() ? req.getRawURI() : httpCtx.getRequestURI();
final HttpRequestPacket.Builder builder = HttpRequestPacket.builder();