Skip to content

Commit

Permalink
SWC-7141: by default, set the path to /
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Nov 5, 2024
1 parent f92f343 commit 2da305c
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 void setCookie(String name, String value, Date expires) {
.toLowerCase()
.startsWith("https");
String domain = CookieUtils.getDomain(Window.Location.getHostName());
setCookie(name, value, expires, domain, null, isSecure);
setCookie(name, value, expires, domain, "/", isSecure);
}

@Override
Expand Down

0 comments on commit 2da305c

Please sign in to comment.