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 25264] - Cookie rejected
Date Sun, 07 Dec 2003 00:52:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25264>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25264

Cookie rejected





------- Additional Comments From olegk@apache.org  2003-12-07 00:52 -------
Ludovic,
In my opinion the cookie is clearly wrong. Somehow I do not feel like patching
HttpClient because of evey single broken cookie out there.

Besides, your patch seems to fail to take into consideration that cookie domain
may be a just a simple host name (localhost for instance). Of course, I might
have missed something after a just cursory examination, but your patch does not
seem right in that regard. I'll have a closer look at the issue on Monday, but
at the moment I lean towards not changing HttpClient 2.0 at all. 

In the next release we'll provide a plug-in mechanism for custom cookie specs,
which would enable you to accept any kind of broken cookie you please. Cookie
spec plug-in mechanism is already implemented in CVS HEAD, so feel free to take
a look.

Regards,

Oleg

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


Mime
View raw message