summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorYAMADA Yasuharu <yasuharu.yamada@access-company.com>2013-06-12 11:19:56 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-12 11:19:56 +0200
commitf24dc09d209a2f91ca38d854f0c15ad93f3d7e2d (patch)
tree57921a2f3f0a6c02aa4bfdd0edc32663b0b1fbcc /lib/cookie.h
parent9e10963c207b43e57d0898b924f9e661385db40f (diff)
downloadcurl-f24dc09d209a2f91ca38d854f0c15ad93f3d7e2d.tar.gz
cookies: follow-up fix for path checking
The initial fix to only compare full path names were done in commit 04f52e9b4db0 but found out to be incomplete. This takes should make the change more complete and there's now two additional tests to verify (test 31 and 62).
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index d3b63f780..bd890827c 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -29,7 +29,8 @@ struct Cookie {
struct Cookie *next; /* next in the chain */
char *name; /* <this> = value */
char *value; /* name = <this> */
- char *path; /* path = <this> */
+ char *path; /* path = <this> which is in Set-Cookie: */
+ char *spath; /* sanitized cookie path */
char *domain; /* domain = <this> */
curl_off_t expires; /* expires = <this> */
char *expirestr; /* the plain text version */