You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Adam Jack <aj...@TrySybase.com> on 2002/11/29 19:40:00 UTC
RE: [PATCH] Cookie's domain attribute check turned out to be case sensitive
JSD wrote:
> Committed. Thanks Oleg.
> Adam, please give a current build a shot.
I've downloaded the build from:
http://gump.covalent.net/jars/latest/jakarta-commons/
I tried yesterday (early whilst getting the Turkey up and to room
temperature for it's big day) and got the same result. Perhaps I was too
early.
I tried again just now with last night's build. Although the result is
different (it no longer complaining about the domain attribute) it isn't as
I suspect is correct (see below.) Now it complains about "different path".
Thanks for your efforts.
regards
Adam
----------------------------------------------------------------------------
----------------------
org.apache.commons.httpclient.HttpException: Bad Set-Cookie header:
sID=172.20.2.225.1038594731743097; path=/; domain=.TrySybase.com,
sID=172.20.2.225.1038594731743097; path=/; domain=.TrySybase.com Header
targets a different path, found "/" for "http://www.TrySybase.com/"
at org.apache.commons.httpclient.Cookie.parse(Cookie.java:1016)
at
org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders(HttpMeth
odBase.java:1445)
at
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
a:1530)
at
org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.j
ava:2182)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:820
)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:455)
at com.trysybase.net.robot.Robot.performTask(Robot.java:186)
at com.trysybase.net.robot.Robot.perform(Robot.java:100)
at com.trysybase.net.robot.Robot.main(Robot.java:403)