CakePHP Version: 1.2.5 PHP: 5.1.6 Apache HTTPD: 2.2.3 OS: RHEL 5 If you look at RFC 2109, Section 4.1, the Cookie and Set-Cookie header attr (name) are defined as "tokens", a token being defined as (in RFC 2068) "any CHAR exept CTLs or tspecials" and it continues on to define what the specials. Now, to the point, the CookieComponent uses square brackets as part of the Cookie name.
Example header: Set-Cookie: CakeCookie[User][id]="John Doe"; path=/webroot I've been trying to figure out why Firefox (3.5.3 to be exact) wasn't storing cookies set with CookieComponent::write. It works fine in IE 8. After some testing, I was able to store a cookie with the exact same value but with a different name - one that does not include square bracket characters. I did a search through the CakePHP trac and found an issue (https:// trac.cakephp.org/ticket/6327) where the HttpSocket class was updated to bring it closer to compliance with the specs. Before I submitted a ticket for this issue however, I wanted to post here to see if anyone had any thoughts or if I'm missing something. http://www.ietf.org/rfc/rfc2068.txt http://www.ietf.org/rfc/rfc2109.txt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
