setcookie() doesn't follow the RFC in 7.3
| From: | Nicolas Grekas | Date: | Thu, 20 Sep 2018 06:15:44 +0000 |
| Subject: | setcookie() doesn't follow the RFC in 7.3 | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-103193@lists.php.net to get a copy of this message | ||
Hi all,
yesterday I submitted https://bugs.php.net/76906 to report
that I wasn't
able to set the "samesite" attribute on cookies while I followed what's
been approved in https://wiki.php.net/rfc/same-site-cookie
Damian answered on the bug report that the $options argument has swallowed
the lifetime one, so that $options is now the 3rd arg and not the 4th as
noted in the RFC.
He suggested me to raise the topic on internals, so here we are.
Are we fine with this? If yes, shouldn't an errata be added to the RFC so
that ppl aren't confused like I was?
Cheers,
Nicolas