hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32833] - Cookie with domain .mydomain.com not sent to host mydomain.com
Date Thu, 23 Dec 2004 18:53:14 GMT
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=32833>.
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=32833





------- Additional Comments From olegk@apache.org  2004-12-23 19:53 -------
RFC2109, section 2
<quote>
Hosts names can be specified either as an IP address or a FQHN
string.  Sometimes we compare one host name with another.  Host A's
name domain-matches host B's if

* both host names are IP addresses and their host name strings match
  exactly; or

* both host names are FQDN strings and their host name strings match
  exactly; or

* A is a FQDN string and has the form NB, where N is a non-empty name
  string, B has the form .B', and B' is a FQDN string.  (So, x.y.com
  domain-matches .y.com but not y.com.)

Note that domain-match is not a commutative operation: a.b.c.com
domain-matches .c.com, but not the reverse.
</quote>

Marc,

Please correct me if I am wrong, but based on the above quote I believe
HttpClient correctly implements the domain matching algorithm as defined by the
RFC2109. If you are absolutely positive that (so called) mainstream browsers
implement a different domain matching differently, we may consider relaxing the
browser compatibility spec.

Oleg

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message