You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by "Park, Sung-Gu" <je...@thinkfree.com> on 2000/12/18 12:17:29 UTC

a cookie bug

need to patch this part....

==========================

FILE: WebdavMethodBase.java

FROM:
        if (!headers.containsKey("cookie")) {
            Vector cookies = state.getCookies();
            headers.put("cookie",
              Cookie.createCookieHeader(host, getPath(), cookies));
        }
TO:
        if (!headers.containsKey("cookie")) {
            Vector cookies = state.getCookies();
            if (cookies.size() >0) {
                headers.put("Cookie",
                Cookie.createCookieHeader(host, getPath(), cookies));
            }



Re: a cookie bug

Posted by "Park, Sung-Gu" <je...@thinkfree.com>.
If you don't check null value,
In apache with mod_dav, you'll get a problem with a cookie.
(As I know, originally, cookies have in trouble)


----- Original Message ----- 
From: "Remy Maucherat" <re...@apache.org>
To: <sl...@jakarta.apache.org>
Sent: Tuesday, December 19, 2000 10:47 AM
Subject: Re: a cookie bug 


| > need to patch this part....
| 
| Not sending the cookie if it's empty looks reasonable to me :)
| However, I really don't know anything about cookies so I'll leave BC in
| charge of sorting that out.
| 
| Remy
| 

Re: a cookie bug

Posted by Remy Maucherat <re...@apache.org>.
> need to patch this part....

Not sending the cookie if it's empty looks reasonable to me :)
However, I really don't know anything about cookies so I'll leave BC in
charge of sorting that out.

Remy