Comment #12 on issue 3699 by Dean.McNamee: Cookies not stored when  
accessing site by IP (without domain name)
http://code.google.com/p/chromium/issues/detail?id=3699

Just to clarify, I believe it's a bug to set a cookie with domain=IP.  The  
specs
indicate that domain= attribute is only for setting domain cookies, as in  
those that
will match a wildcard of all subdomains.  Since this is not possible for  
cookies,
setting domain= is invalid for IP address (which is how we handled it  
before).

The correct thing this application should be doing is not specifying any  
domain=
attribute, in which case it will default to a host cookie with the ip  
address as the
domain.

I have created a changelist that should handle the domain=IP address case  
also (since
this is what IE/Firefox does), but I still believe this is wrong.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to