Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Commits

[3.0] 8dd2a4c Add missing + in docs

 

 

Varnish commits RSS feed   Index | Next | Previous | View Threaded


tfheen at varnish-cache

Apr 27, 2012, 3:57 AM

Post #1 of 1 (62 views)
Permalink
[3.0] 8dd2a4c Add missing + in docs

commit 8dd2a4c436fc9931ba9deb1709e16e659f0da666
Author: Tollef Fog Heen <tfheen [at] varnish-software>
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 ecf0e96..5e5768e 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
}
}


_______________________________________________
varnish-commit mailing list
varnish-commit [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-commit

Varnish commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.