Index: lib/cookie.c =================================================================== RCS file: /home/engineering/cvs/external/curl-7.15.1/lib/cookie.c,v retrieving revision 1.1 diff -u -5 -r1.1 cookie.c --- lib/cookie.c 16 Feb 2006 03:36:44 -0000 1.1 +++ lib/cookie.c 7 Jul 2006 22:42:25 -0000 @@ -758,11 +758,13 @@ cookie data */ /* now check the left part of the path with the cookies path requirement */ if(!co->path || - checkprefix(co->path, path) ) { + /* not using checkprefix() because matching should be + case-sensitive */ + !strncmp(co->path, path, strlen(co->path)) ) { /* and now, we know this is a match and we should create an entry for the return-linked-list */ newco = (struct Cookie *)malloc(sizeof(struct Cookie));