From d65a6baca9a20461f976a2455d70eecc7faf2db5 Mon Sep 17 00:00:00 2001 From: James Moger Date: Sat, 16 Nov 2013 08:49:20 -0500 Subject: Update to Jetty 8.1.13 for Servlet 3 Change-Id: If3f30af2ed250968e65cde58bd413213f4d384b1 --- src/main/java/com/gitblit/GitBlitServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/gitblit/GitBlitServer.java') diff --git a/src/main/java/com/gitblit/GitBlitServer.java b/src/main/java/com/gitblit/GitBlitServer.java index ecb10011..292eec40 100644 --- a/src/main/java/com/gitblit/GitBlitServer.java +++ b/src/main/java/com/gitblit/GitBlitServer.java @@ -340,7 +340,7 @@ public class GitBlitServer { HashSessionManager sessionManager = new HashSessionManager(); sessionManager.setHttpOnly(true); // Use secure cookies if only serving https - sessionManager.setSecureCookies(params.port <= 0 && params.securePort > 0); + sessionManager.setSecureRequestOnly(params.port <= 0 && params.securePort > 0); rootContext.getSessionHandler().setSessionManager(sessionManager); // Ensure there is a defined User Service -- cgit v1.2.3