Cookie SameSite

Created on 6 July 2022, about 3 years ago
Updated 25 December 2024, 7 months ago

Problem/Motivation

There is a recommendation to use the "SameSite" attributes on cookies, but this module doesn't use it.

Steps to reproduce

Install, make the a11y block available, click on a button and check for console messages on the browser.

This appears:

Cookie “a11y_textsize” does not have a proper “SameSite” attribute value. Soon, cookies without the “SameSite” attribute or with an invalid value will be treated as “Lax”. This means that the cookie will no longer be sent in third-party contexts. If your application depends on this cookie being available in such contexts, please add the “SameSite=None“ attribute to it. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇵🇹Portugal jrochate

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024