From 1f3dff18737576a30bad8e1b7ea45c00fcad265a Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Mon, 03 Mar 2014 17:02:52 -0500 Subject: [PATCH] Eliminate problematic HEAD links from the blob, blame, and tree pages --- src/main/java/com/gitblit/manager/IAuthenticationManager.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gitblit/manager/IAuthenticationManager.java b/src/main/java/com/gitblit/manager/IAuthenticationManager.java index 093f44d..3007a30 100644 --- a/src/main/java/com/gitblit/manager/IAuthenticationManager.java +++ b/src/main/java/com/gitblit/manager/IAuthenticationManager.java @@ -56,6 +56,14 @@ UserModel authenticate(String username, char[] password); /** + * Returns the Gitlbit cookie in the request. + * + * @param request + * @return the Gitblit cookie for the request or null if not found + */ + String getCookie(HttpServletRequest request); + + /** * Sets a cookie for the specified user. * * @param response -- Gitblit v1.9.1