ID: 44804 Updated by: [EMAIL PROTECTED] Reported By: oliver at netconcepts dot com -Status: Open +Status: Verified Bug Type: HTTP related Operating System: Linux Red Hat Enterprise -PHP Version: 5.2.5 +PHP Version: 5.2CVS,5.3CVS (2008-04-24)
Previous Comments: ------------------------------------------------------------------------ [2008-04-23 01:19:36] oliver at netconcepts dot com Description: ------------ the setrawcookie function doesn't set an empty value but sets the value 'deleted' instead. An empty value is perfectly fine in a cookie, there is no need to modify that value in any way. This bug is the same for PHP 4.3.1, and it was never solved? http://bugs.php.net/bug.php?id=33526&edit=2 Reproduce code: --------------- setrawcookie('testcookie', ''); Expected result: ---------------- (Firefox Live HTTP Headers output) Set-Cookie: testcookie= Actual result: -------------- (Firefox Live HTTP Headers output) Set-Cookie: testcookie=deleted ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44804&edit=1
