]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cookies: change the URL in the cookie jar file header
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jul 2012 09:27:45 +0000 (11:27 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 3 Jul 2012 09:27:45 +0000 (11:27 +0200)
lib/cookie.c
tests/data/test1105
tests/data/test171
tests/data/test172
tests/data/test31
tests/data/test46
tests/data/test506
tests/data/test61
tests/data/test62
tests/data/test73

index 41ccdbe34109f44a082e9f3c7cd0cdc5ad597cbb..9eaf5657fc2b49653f47fcbba0073d275671cb7e 100644 (file)
@@ -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;
index 1a8f896a7e0acb7f5c85220656e2e945981c76aa..1b2bf564a435bf7c130c6160c1150f33118e0075 100644 (file)
@@ -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
index 870d236f23a4b3a90fb819cba117371470594efa..147be0a8ef11528d97b490a809bca9afbf2e42e1 100644 (file)
@@ -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
index 1ab902011348fd61f213f934e6badd5eddc0cb8e..b3efae9930950706904b99f7a2fba84a4f1402ad 100644 (file)
@@ -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
index 5afe81df692775a3a23225ccc06814452d2df6f9..fa871d0eb1917f02bc5d59c9faf3ecb73fa8a8fc 100644 (file)
@@ -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
index d0d193033bd070c7c17b6139f81d05abc621af9d..391ac8fed962be2464a4ac7b70cb26444e19a3af 100644 (file)
@@ -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
index 64eb6c9c9d48a4a5dafcb9ac36d808cc2c1844e3..c1a959a40afb734eec71f5091e1482f20f6274a9 100644 (file)
@@ -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
index da05616c19a0b706c1f23e588f880d70cce54f63..d2de2790a7d054783ce2223df8e5c655c530702d 100644 (file)
@@ -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
index 99eca1ecc6d0b61279b48bd8e861ea12b30bbbc8..19886066fd0bded67025b9eafd5a33a7ca2fff3c 100644 (file)
@@ -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
index dec08010ef2a0702a30bae08465911ef0ce33e5f..d60ee62ada967f0ccc43f824261c75ca1f04e608 100644 (file)
@@ -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