Oleg,

The file was too large to post. I have uploaded it
here:

http://esbweb.com/cookie.log

The relevant lines seem to be:

2007/06/13 16:22:11:935 PDT [DEBUG] header - <<
"Set-Cookie:
SESSION_ID=7820838,q5oP8pDYCKQ2I61CHqgZHol8Q4mDbqa2laWSMD2fwtHsuZs1TTLNendIkAqD0o0Q;
path=/;[\r][\n]"

and 

2007/06/13 16:22:11:978 PDT [DEBUG] HttpMethodBase -
Cookie accepted: "SESSION_ID=7820838"
2007/06/13 16:22:11:981 PDT [DEBUG] HttpMethodBase -
Cookie accepted:
"q5oP8pDYCKQ2I61CHqgZHol8Q4mDbqa2laWSMD2fwtHsuZs1TTLNendIkAqD0o0Q="

It seems to be treating it as two different cookies
separated by the comma, instead of one cookie
including the comma. The sever then complains about
the browser not accepting cookies properly. 

Dan

--- Oleg Kalnichevski <[EMAIL PROTECTED]> wrote:

> On Tue, 2007-06-12 at 16:05 -0700, mendels wrote:
> > I am trying to interface to a site that uses a
> comma
> > in the value of one of their cookies. It seems
> that
> > httpclient truncates everything in the cookie
> after
> > the comma which causes the server to return an
> error
> > when the page is returned. I believe that the
> server
> > is violating the spec for cookies, but I do not
> have
> > any control over what it does. Is there some mode
> you
> > can put httpclient in that will not cut off the
> > illegal values in the cookies. I have tried
> NETSCAPE
> > and BROWSER_COMPATIBILITY mode and they both do
> the
> > same thing. You would think that the compatibility
> > mode would be compliant with this case, even if it
> > violates the spec. Any help would be appreciated.
> > 
> > Dan
> > 
> > 
> 
> Dan,
> 
> Please post a complete wire / context log of the
> HTTP session
> 
>
http://jakarta.apache.org/commons/httpclient/logging.html
> 
> Oleg
> 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > 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]

Reply via email to