Samasaur1 / samasaur1.github.io

the jekyll source for my website
https://samasaur1.github.io/
3 stars 0 forks source link

Set samesite cookie attribute #28

Closed Samasaur1 closed 1 year ago

Samasaur1 commented 1 year ago

The convert-to-local-time-option branch adds a cookie in 6ad55e8dac2bdcafe8ed7a19aef1616029123a2a that controls whether the site converts post dates to the local time zone.

However, Firefox logs a warning about security due to a missing attribute. We should add it: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value