Re: [Discussion] Cookies Having Independent Partitioned State (CHIPS)
| From: | Claude Pache | Date: | Mon, 07 Jul 2025 06:47:35 +0000 |
| Subject: | Re: [Discussion] Cookies Having Independent Partitioned State (CHIPS) | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127925@lists.php.net to get a copy of this message | ||
> Le 6 juil. 2025 à 13:25, Tim Düsterhus <tim@bastelstu.be> a écrit :
>
> Hi
>
> On 7/5/25 13:52, Dmitry Derepko wrote:
>> I want to allow the "Partitioned" key to be set. Shall I open RFC or is it
>> possible to create only PR with improvements?
>> Also, I think it may be backported to all the actual PHP versions.
>
> Just a PR should be fine, this follows an external standard and there should be only one
> obvious way to implement this. Backporting to existing PHP versions however is not allowed, since
> this is not a bugfix and the documentation of
setcookie() already
> says:
>
>> To set a cookie that includes attributes that aren't among the keys listed, use
>> header().
> Best regards
> Tim Düsterhus
Hi,
In fact, there is already a PR: https://github.com/php/php-src/pull/12652 with
a related internals discussion: https://externals.io/message/122028
What has changed since that time, is that the feature will most probably be implemented as specified
by all major browsers.
—Claude