teragrep / ajs_01

User interface for Teragrep
Apache License 2.0
0 stars 0 forks source link

Set cookie SameSite attributes properly #237

Open StrongestNumber9 opened 6 months ago

StrongestNumber9 commented 6 months ago

Description

Browser tells me this:

Cookie “darkMode” 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

Use case or motivation behind the feature request

Being up to standards and having explicitly set attributes is a good idea

Related issues

Additional context