[Discussion] Cookies Having Independent Partitioned State (CHIPS)
Hi, Internals!
A few days ago I faced some Cookie limitations, solutions led me to the
CHIPS specification.
Link:
https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies
The idea of the CHIPS implementation is to add a new Cookie part named
"Partitioned".
When I set this flag using setcookie function, there was error:
https://3v4l.org/WDpDX
The error raises here:
https://github.com/php/php-src/blob/5853cdb73db85c75d5f558a8cf92161a31291de0/ext/standard/head.c#L205-L220
The workaround is to use the "header" function, which allows any strings
inside.
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.
--
Best regards,
Dmitrii Derepko.
@xepozz
Thread (5 messages)
- Dmitry Derepko