v. 6.5.5 - problem with cookie Locale

107 views
Skip to first unread message

Łukasz Woźniak

unread,
Jun 8, 2022, 4:33:07 AM6/8/22
to CAS Community
Hi,

We are using verison 6.5.5 with Delegated Authentication Discovery Selection . And I've got a problem, when user come back form Office365 on address /login?client_name=Office365 he get 2 set-cookie from the response:

 Set-Cookie: org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=pl-PL; Max-Age=2147483647; Expires=Mon, 26-Jun-2090 11:36:24 GMT; Path=/; Secure; HttpOnly
Set-Cookie: org.springframework.web.servlet.i18n.CookieLocaleResolver.LOCALE=und; Max-Age=2147483647; Expires=Mon, 26-Jun-2090 11:36:24 GMT; Path=/; Secure; HttpOnl
y

Any one have a clue what is the problem? I've tested on default settings for the locale and with not pin-to-session settings to false. Same result. User've got random with locale.

Thanks for help,
Lukas

Łukasz Woźniak

unread,
Sep 1, 2022, 10:11:26 AM9/1/22
to CAS Community, Łukasz Woźniak
If someone have similar problems bug was fixed in this commit https://github.com/apereo/cas/commit/c6006aa1d0a2d6e26cf315f79e7293464fd77527 
Reply all
Reply to author
Forward
0 new messages