[java-identity-provider] 04/28: IDP-2213 - Change to cookie path default not copied into user-prefs.js
Scott Cantor
cantor.2 at osu.edu
Wed Jan 31 14:51:50 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch dev/thymeleaf
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=a1e63d118e91e19eeca47b651f084c32ff344d9b
commit a1e63d118e91e19eeca47b651f084c32ff344d9b
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed Dec 13 09:11:44 2023 -0500
IDP-2213 - Change to cookie path default not copied into user-prefs.js
https://shibboleth.atlassian.net/browse/IDP-2213
---
.../src/main/resources/net/shibboleth/idp/module/views/user-prefs.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/user-prefs.js b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/user-prefs.js
index 81f143a61..392a34e65 100644
--- a/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/user-prefs.js
+++ b/idp-conf-impl/src/main/resources/net/shibboleth/idp/module/views/user-prefs.js
@@ -6,7 +6,7 @@ function createCookie(name, value, seconds) {
date.setTime(date.getTime() + (seconds * 1000));
var expires = "; expires=" + date.toGMTString();
- var path = '$environment.getProperty("idp.cookie.path", $request.getContextPath())';
+ var path = '$environment.getProperty("idp.cookie.path", "/")';
if (path.length > 0)
path = "; path=" + path;
document.cookie = name + "=" + value + expires + path;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list