aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-07-03 11:27:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-07-03 11:27:45 +0200
commitc75ece44423b0eb4f0fdac13c6760d17c4200ade (patch)
treedbeb8dac078658281220fd9dc8db2c0b14092cb0
parent016dabcf047a5788812d86bdbd69b2da7f9faee1 (diff)
cookies: change the URL in the cookie jar file header
-rw-r--r--lib/cookie.c4
-rw-r--r--tests/data/test11052
-rw-r--r--tests/data/test1712
-rw-r--r--tests/data/test1722
-rw-r--r--tests/data/test312
-rw-r--r--tests/data/test464
-rw-r--r--tests/data/test5062
-rw-r--r--tests/data/test612
-rw-r--r--tests/data/test622
-rw-r--r--tests/data/test732
10 files changed, 12 insertions, 12 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index 41ccdbe34..9eaf5657f 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -1069,7 +1069,7 @@ static int cookie_output(struct CookieInfo *c, const char *dumphere)
char *format_ptr;
fputs("# Netscape HTTP Cookie File\n"
- "# http://curl.haxx.se/rfc/cookie_spec.html\n"
+ "# http://curl.haxx.se/docs/http-cookies.html\n"
"# This file was generated by libcurl! Edit at your own risk.\n\n",
out);
co = c->cookies;
diff --git a/tests/data/test1105 b/tests/data/test1105
index 1a8f896a7..1b2bf564a 100644
--- a/tests/data/test1105
+++ b/tests/data/test1105
@@ -52,7 +52,7 @@ userid=myname&password=mypassword
</protocol>
<file name="log/cookie1105.txt">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
127.0.0.1 FALSE /we/want/ FALSE 0 foobar name
diff --git a/tests/data/test171 b/tests/data/test171
index 870d236f2..147be0a8e 100644
--- a/tests/data/test171
+++ b/tests/data/test171
@@ -49,7 +49,7 @@ Proxy-Connection: Keep-Alive
</protocol>
<file name="log/jar171" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.z.x.com TRUE / FALSE 0 XToken xt
diff --git a/tests/data/test172 b/tests/data/test172
index 1ab902011..b3efae993 100644
--- a/tests/data/test172
+++ b/tests/data/test172
@@ -31,7 +31,7 @@ http://%HOSTIP:%HTTPPORT/we/want/172 -b log/jar172.txt -b "tool=curl; name=fool"
</command>
<file name="log/jar172.txt">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.%HOSTIP TRUE /silly/ FALSE 0 ismatch this
diff --git a/tests/data/test31 b/tests/data/test31
index 5afe81df6..fa871d0eb 100644
--- a/tests/data/test31
+++ b/tests/data/test31
@@ -87,7 +87,7 @@ Accept: */*
</protocol>
<file name="log/jar31.txt" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.127.0.0.1 TRUE /silly/ FALSE 0 ismatch this
diff --git a/tests/data/test46 b/tests/data/test46
index d0d193033..391ac8fed 100644
--- a/tests/data/test46
+++ b/tests/data/test46
@@ -46,7 +46,7 @@ TZ=GMT
</command>
<file name="log/injar46">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This is generated by libcurl! Do not edit.
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
@@ -71,7 +71,7 @@ Cookie: empty=; mooo2=indeed2; mooo=indeed
</protocol>
<file name="log/jar46" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
www.fake.come FALSE / FALSE 1022144953 cookiecliente si
diff --git a/tests/data/test506 b/tests/data/test506
index 64eb6c9c9..c1a959a40 100644
--- a/tests/data/test506
+++ b/tests/data/test506
@@ -168,7 +168,7 @@ http://%HOSTIP:%HTTPPORT/506
</stderr>
<file name="log/jar506" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.foo.com TRUE / FALSE 1993463787 test1 overwritten1
diff --git a/tests/data/test61 b/tests/data/test61
index da05616c1..d2de2790a 100644
--- a/tests/data/test61
+++ b/tests/data/test61
@@ -61,7 +61,7 @@ Host: www.host.foo.com
</protocol>
<file name="log/jar61.txt" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
diff --git a/tests/data/test62 b/tests/data/test62
index 99eca1ecc..19886066f 100644
--- a/tests/data/test62
+++ b/tests/data/test62
@@ -33,7 +33,7 @@ http://%HOSTIP:%HTTPPORT/we/want/62 -b log/jar62.txt -H "Host: www.host.foo.com"
</command>
<file name="log/jar62.txt">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_.foo.com TRUE /we/want/ FALSE 2054030187 test yes
diff --git a/tests/data/test73 b/tests/data/test73
index dec08010e..d60ee62ad 100644
--- a/tests/data/test73
+++ b/tests/data/test73
@@ -46,7 +46,7 @@ Host: host.NOT_DISCLOSED.se
</protocol>
<file name="log/jar73.txt" mode="text">
# Netscape HTTP Cookie File
-# http://curl.haxx.se/rfc/cookie_spec.html
+# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
.NOT_DISCLOSED.se TRUE / FALSE 0 IPCZQX01af0fca5c 000010008168c200d25dfc4b