shwstppr commented on a change in pull request #4176:
URL: https://github.com/apache/cloudstack/pull/4176#discussion_r445080095
##########
File path: server/src/main/java/com/cloud/api/ApiServlet.java
##########
@@ -238,9 +238,14 @@ void processRequestInContext(final HttpServletRequest req,
final HttpServletResp
} catch (final IllegalStateException ignored) {
}
}
- Cookie sessionKeyCookie = new
Cookie(ApiConstants.SESSIONKEY, "");
- sessionKeyCookie.setMaxAge(0);
- resp.addCookie(sessionKeyCookie);
+ final Cookie[] cookies = req.getCookies();
+ if (cookies != null)
Review comment:
@rhtyd missing brace
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]