Re: [PHP-DEV] cookies broken From: Zeev Suraski (bourbon <email protected>)
Date: 05/01/98

At 22:19 30/04/98 +0000, David Sklar wrote:
>Zeev Suraski wrote:
>>
>> I just verified a bug in the cookies engine in the current CVS. My symptom
>> here is that the 2nd cookie in the $HTTP_COOKIE_VARS array has an
>> underscore before its name, but not in the cookie itself. E.g.
>> if foo1=bar1 and foo2=bar2, then
>>
>> $HTTP_COOKIE_VARS["foo1"] = "bar1"
>> $HTTP_COOKIE_VARS["_foo2"] = "bar2" /* notice the underscore */
>> $foo1 = "bar1"
>> $foo2 = "bar2" /* no underscore */
>>
>> I'll be looking into it sometime soon, but if someone else wants to look
>> into it, be my guests :)
>
>
>I just checked my test script, and this is the same thing happening with
>the big (#321) I reported about cookies not getting parsed -- the value
>I that I thought had disappeared from $first is actually in $_first.

Fixed. I broke it about a week ago :I

Zeev

--
Zeev Suraski   <zeev <email protected>>
For a PGP public key, finger bourbon <email protected>