From 2da305c477b73016b03208e561bb2439f04a9ceb Mon Sep 17 00:00:00 2001 From: Jay Hodgson Date: Tue, 5 Nov 2024 10:34:40 -0600 Subject: [PATCH] SWC-7141: by default, set the path to / --- .../org/sagebionetworks/web/client/cookie/GWTCookieImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/sagebionetworks/web/client/cookie/GWTCookieImpl.java b/src/main/java/org/sagebionetworks/web/client/cookie/GWTCookieImpl.java index 45392ad09b..b9bbc53f36 100644 --- a/src/main/java/org/sagebionetworks/web/client/cookie/GWTCookieImpl.java +++ b/src/main/java/org/sagebionetworks/web/client/cookie/GWTCookieImpl.java @@ -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