From 76047498719836c7c33c4610afb21b0d000e1393 Mon Sep 17 00:00:00 2001 From: Brenton Cleeland Date: Thu, 25 Jul 2013 20:57:49 +1000 Subject: [PATCH] [1.6.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs. Thanks simonb for the report. Backport of dab52d99fc from master --- docs/ref/middleware.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 4898bab6365..d011f054ac0 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -37,7 +37,7 @@ defines. See the :doc:`cache documentation `. Adds a few conveniences for perfectionists: * Forbids access to user agents in the :setting:`DISALLOWED_USER_AGENTS` - setting, which should be a list of strings. + setting, which should be a list of compiled regular expression objects. * Performs URL rewriting based on the :setting:`APPEND_SLASH` and :setting:`PREPEND_WWW` settings.