Re: [PHP-DEV] cookies broken From: David Sklar (sklar <email protected>)
Date: 04/30/98

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.

-dave