mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
do not create a session for debug servlet
This commit is contained in:
@@ -229,9 +229,13 @@ public class DebugServlet extends HttpServlet
|
||||
printHeader(writer);
|
||||
appendContextAttributes(writer);
|
||||
|
||||
HttpSession session = request.getSession();
|
||||
HttpSession session = request.getSession(false);
|
||||
|
||||
if (session != null)
|
||||
{
|
||||
appendSessionAttributes(writer, session);
|
||||
}
|
||||
|
||||
appendSessionAttributes(writer, session);
|
||||
printFooter(writer);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user