Skip to content

Commit

Permalink
Merge pull request #5574 from jay-hodgson/SWC-7141
Browse files Browse the repository at this point in the history
SWC-7141: by default, set the path to /
  • Loading branch information
jay-hodgson authored Nov 5, 2024
2 parents f92f343 + 2da305c commit 5ff06dc
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 5ff06dc

Please sign in to comment.