[master] 203ab6e Fix syntax for 3.0

Andreas Plesner Jacobsen apj at varnish-cache.org
Tue Dec 20 16:18:26 CET 2011


commit 203ab6e7109b5d382e802c747f9b273c5f605bf7
Author: Andreas Plesner Jacobsen <apj at mutt.dk>
Date:   Tue Dec 20 16:18:12 2011 +0100

    Fix syntax for 3.0

diff --git a/doc/sphinx/tutorial/cookies.rst b/doc/sphinx/tutorial/cookies.rst
index ab59e21..0278712 100644
--- a/doc/sphinx/tutorial/cookies.rst
+++ b/doc/sphinx/tutorial/cookies.rst
@@ -50,7 +50,7 @@ cookies named COOKIE1 and COOKIE2 and you can marvel at it::
 
   sub vcl_recv {
     if (req.http.Cookie) {
-      set req.http.Cookie = ";" req.http.Cookie;
+      set req.http.Cookie = ";" + req.http.Cookie;
       set req.http.Cookie = regsuball(req.http.Cookie, "; +", ";");
       set req.http.Cookie = regsuball(req.http.Cookie, ";(COOKIE1|COOKIE2)=", "; \1=");
       set req.http.Cookie = regsuball(req.http.Cookie, ";[^ ][^;]*", "");



More information about the varnish-commit mailing list