ID:               44804
 Updated by:       [EMAIL PROTECTED]
 Reported By:      oliver at netconcepts dot com
-Status:           Verified
+Status:           Wont fix
 Bug Type:         HTTP related
 Operating System: *
 PHP Version:      5.2CVS,5.3CVS (2008-04-24)
 New Comment:

A fix would be a massive BC break since many applications rely on "" 
value resulting in cookie deletion.


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

Reply via email to