You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's my contribution: As of PHP 7.4.3RC1, setcookie calls rawurlencode (instead of urlencode) for encoding the value parameter; as a result, the following test:
So it seems decoding of cookie values, which is done by PHP internally and not by this library, had been changed (and fixed, with respect to the specification) in PHP 7.4.2, released on January 23, 2020.
Then, encoding of cookie values, which this library itself does as well, had to be fixed to match the new decoding behavior in PHP 7.4.3, released on February 20, 2020.
We’ll fix this with a PHP version check and new behavior for 7.4.3 and later versions. It seems no other minor versions were affected.
Hello everybody,
Thank you all for your work.
Here's my contribution: As of PHP 7.4.3RC1,
setcookie
callsrawurlencode
(instead ofurlencode
) for encoding thevalue
parameter; as a result, the following test:is failing:
Have a nice day!
Bye
The text was updated successfully, but these errors were encountered: