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 Mon, 08 Dec 2003 07:09:27 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 rolweber@de.ibm.com  2003-12-08 07:09 -------
Hello Ludovic,

HttpClient works correctly in this case. RFC 2965 defines in section 1
the comparison operations on hosts and domain names. The *host*
sourceforge.net is not matched by the *domain* .sourceforge.net,
and therefore the cookie is rejected.

The best fix would be to change your target URL to use a host within the
domain .sourceforge.net, like:

https://www.sourceforge.net/account/login.php
https://login.sourceforge.net/account/login.php
https://whatever.sourceforge.net/account/login.php

Sourceforge indeed has an inappropriate login link on their page, but
I cannot imagine they don't have a hostname that can be preprended.
You should ask them to chance their default login link accordingly.

regards,
  Roland

---------------------------------------------------------------------
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