Branch: refs/heads/master Home: https://github.com/xwiki/xwiki-platform Commit: d9dcde7f1d6df803243d66fe0f44d5b0473aaed3 https://github.com/xwiki/xwiki-platform/commit/d9dcde7f1d6df803243d66fe0f44d... Author: Vincent Massol <[email protected]> Date: 2026-07-07 (Tue, 07 Jul 2026) Changed paths: M xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWiki.java Log Message: ----------- [Misc] Extract language cookie creation into a single method Deduplicate the repeated language/interface-language cookie creation blocks in XWiki.java into a single addLanguageCookie() helper, and add the SonarQube ignore for the java:S3330 (HttpOnly) and java:S2092 (secure) rules there: the cookie only stores a validated, non-sensitive locale identifier and thus doesn't need those flags, unlike the sensitive authentication cookies. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> To unsubscribe from these emails, change your notification settings at https://github.com/xwiki/xwiki-platform/settings/notifications