Fix applied. Please re-test against the most recent CVS snapshot Oleg
On Thu, 2003-06-12 at 18:52, Kalnichevski, Oleg wrote: > Dan > I have to confirm that this is indeed a bug in HttpClient. The bug only affects > cookie paths that have one leading back slash, eg: '/whatever.php'. Cookie paths > with multiple slashes are processed correctly, eg: '/path/whatever.php'. > > Many thanks for tracking the bug down > > Cheers > > Oleg > > > -----Original Message----- > From: Dan �berg [mailto:[EMAIL PROTECTED] > Sent: Thu 6/12/2003 10:37 > To: commons-httpclient-dev > Cc: > Subject: Cookie and RFC 2109 > Hi All ! > > RFC 2109, section: "4.3.1 Interpreting Set-Cookie" states that: > > "Path Defaults to the path of the request URL that generated the > Set-Cookie response, up to, but not including, the > right-most /." > > When I'm using HttpClient and PostMethod to issue a post command to > http://foo.com/whatever.php I retreive a cookie with no path set. When I examine the > cookie the path is set to "/whatever.php", but according to RFC 2109 it should be > "/". > Am I missing something or is this a bug ? > > Thanx > /Dan > > P.S. > I'm using version commons-httpclient-2.0-beta1 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > ______________________________________________________________________ > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
