Skip to content

Commit

Permalink
feat: origin null 체크 추가 #357
Browse files Browse the repository at this point in the history
  • Loading branch information
jhon3242 committed Oct 24, 2024
1 parent d98c3e8 commit 9c1f71e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public ResponseCookie getEncodedCookie(Object value, String origin) {
}

private String getSameSiteOption(String origin) {
if (origin.startsWith(LOCALHOST)) {
if (origin != null && origin.startsWith(LOCALHOST)) {
return NONE;
}
return LAX;
Expand Down

0 comments on commit 9c1f71e

Please sign in to comment.