[master] a8ac09b Add missing + in docs
Tollef Fog Heen
tfheen at varnish-cache.org
Fri Apr 27 12:54:37 CEST 2012
commit a8ac09bb97bc2903c0696b0af8c659bb57d851dd
Author: Tollef Fog Heen <tfheen at varnish-software.com>
Date: Fri Apr 27 12:53:44 2012 +0200
Add missing + in docs
Thanks to Jeff Williams for pointing this out.
diff --git a/doc/sphinx/tutorial/purging.rst b/doc/sphinx/tutorial/purging.rst
index 846ca82..22056a7 100644
--- a/doc/sphinx/tutorial/purging.rst
+++ b/doc/sphinx/tutorial/purging.rst
@@ -146,7 +146,7 @@ You can use the following template to write ban lurker friendly bans::
if (client.ip !~ purge) {
error 401 "Not allowed";
}
- ban("obj.http.x-url ~ " req.url); # Assumes req.url is a regex. This might be a bit too simple
+ ban("obj.http.x-url ~ " + req.url); # Assumes req.url is a regex. This might be a bit too simple
}
}
More information about the varnish-commit
mailing list