Skip to content

Commit

Permalink
fix: cookie null 일때, 예외처리 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
This2sho authored Jun 25, 2024
1 parent 1ce892c commit 4a93c13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public Object resolveArgument(MethodParameter parameter, ModelAndViewContainer m
}

private String getJsessionid(HttpServletRequest request) {
if (request == null) {
if (request == null || request.getCookies() == null) {
return null;
}
for (Cookie cookie : request.getCookies()) {
Expand Down

0 comments on commit 4a93c13

Please sign in to comment.