by shigemk2

当面は技術的なことしか書かない

PHP setcookie

7.2のこの書き方

setcookie('hoge', 'fuga', 3600, '/; SameSite=Strict', '', true, true);

7.3のこの修正により、 Warning: Cookie paths cannot contain any of the following ',; \t\r\n\013\014' と相成りました。さようなら。

Fix #69948: path/domain are not sanitized in setcookie · php/php-src@5cb825d · GitHub

GitHub - GoogleChromeLabs/samesite-examples: Examples of using the SameSite cookie attribute in a variety of language, libraries, and frameworks.