From a1675cd79b0df2478026573b0fac52464ef3c1b7 Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Wed, 20 Dec 2017 16:08:18 +0100 Subject: Make `setcookie` return true We forgot to set a return value to the setcookie function, thus always returning false. Since very few frameworks/developers are checking the return value, it went unnoticed until we played with Magento, who effectively checks the return value.--- src/tests/samesite_cookies.phpt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'src/tests') diff --git a/src/tests/samesite_cookies.phpt b/src/tests/samesite_cookies.phpt index 12f3d72..fe74172 100644 --- a/src/tests/samesite_cookies.phpt +++ b/src/tests/samesite_cookies.phpt @@ -14,10 +14,18 @@ HTTPS=1 EOF; --FILE--