aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-23 13:04:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-23 13:04:19 +0000
commit72dec6cfecf9db0b589da7e3b4fc101938298bb1 (patch)
tree08df1da04799eca0c3d572141864f69674a37673 /lib
parent8dc9f4330c4d9c16c21d6e7c1e94608b6c8f4959 (diff)
Added Andres' comments about field 2 in netscape cookie files
Diffstat (limited to 'lib')
-rw-r--r--lib/cookie.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 3c4034c42..6fa35d783 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -230,7 +230,18 @@ Curl_cookie_add(struct CookieInfo *c,
co->domain = strdup(ptr);
break;
case 1:
- /* what _is_ this field for? */
+ /* This field got its explanation on the 23rd of May 2001 by
+ Andrés García:
+
+ flag: A TRUE/FALSE value indicating if all machines within a given
+ domain can access the variable. This value is set automatically by
+ the browser, depending on the value you set for the domain.
+
+ As far as I can see, it is set to true when the cookie says
+ .domain.com and to false when the domain is complete www.domain.com
+
+ We don't currently take advantage of this knowledge.
+ */
break;
case 2:
/* It turns out, that sometimes the file format allows the path