You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2004/04/24 01:18:00 UTC
DO NOT REPLY [Bug 28566] New: -
Handling sub-domain cookies.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28566>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28566
Handling sub-domain cookies.
Summary: Handling sub-domain cookies.
Product: Commons
Version: 2.0 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: sabhishek@yahoo.com
I noticed a difference in behaviour between httpclient and most common browsers
(IE/Mozilla). If a web site sets a cookie for "beta.gamma.com", this cookie is
not sent in requests to "alpha.beta.gamma.com".
I am not sure what the cookie specs say, but Mozilla, IE and even
HTTP::Cookies module in LWP seem to behave differently from HttpClient.
HttpClient seems to rely on the leading dot in the domain name
(like ".beta.gamma.com").
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org