#43007 [Opn->Bgs]: php unable to handle correctly comma separated cookie values

From: Date: Tue, 23 Oct 2007 09:39:17 +0000
Subject: #43007 [Opn->Bgs]: php unable to handle correctly comma separated cookie values
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118860@lists.php.net to get a copy of this message
ID: 43007 Updated by: jani@php.net Reported By: unlucio at gmail dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 5.2.4 New Comment: See bug #32111 Bug #32827 was reported to _revert_ the bad fix for allowing comma as cookie separator. You're missing the part "Read RECOMMENDED, BUT NOT REQUIRED." in it.. :) Please report the problem to the manufacturers of these devices, they're the ones interpreting the "standard" wrong. Previous Comments: ------------------------------------------------------------------------ [2007-10-17 17:55:35] unlucio at gmail dot com More over, Same thing seams to happen for those devices that use ";" (semicolons) instead of "; " (semicolons plus space). Kind of very bothering thing, since when one of those happens the result is everything between an empty session or multiple sessions been created (empty or filled) for the same device. This is actually tricky, as long as u have just the sessionID as only value in you cookie everything works fine. The odd things starts to happen once u add more then one cookie value. For instance, dealing with regular cookies leads to the usual: Cookie: PHPSESSID=s1buavh0oa80dggt6i646nl084; test=ok Array ( [PHPSESSID] => s1buavh0oa80dggt6i646nl084 [test] => ok ) this is what happening with the other separators: Cookie: PHPSESSID=a4qmclqmck8kok2gj26vblmj72, test=ok, Array ( [PHPSESSID] => a4qmclqmck8kok2gj26vblmj72, test=ok ) which is just silly ;P Most important: I hope there is a patch for this somewhere, we cannot afford to use a cvs or development version since we're in a production environment :( thx for help lucio ------------------------------------------------------------------------ [2007-10-17 15:56:06] unlucio at gmail dot com Description: ------------ hello, for some reason I'm experiencing pretty much the same reported here: http://bugs.php.net/bug.php?id=32827 with cellphone like the BlackBerry, ecc. Am I missing something? thx for help lucio ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43007&edit=1

« previous php.bugs (#118860) next »