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

Mailing List Archive: Varnish: Commits

[master] a8ac09b Add missing + in docs

 

 

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


tfheen at varnish-cache

Apr 27, 2012, 3:54 AM

Post #1 of 1 (53 views)
Permalink
[master] a8ac09b Add missing + in docs

commit a8ac09bb97bc2903c0696b0af8c659bb57d851dd
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 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
}
}


_______________________________________________
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.