summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenton Cleeland <brenton@brntn.me>2013-07-25 20:57:49 +1000
committerTim Graham <timograham@gmail.com>2013-07-25 07:39:53 -0400
commiteda39fe704b1b76a94f44b49949660bef2827ed2 (patch)
treeedd67d36d3f880eb4c2efef36cbb268c6864bb3b
parentdfe36f10dfecdf0ac54d0a7d3d242e5c8e69e391 (diff)
[1.4.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report. Backport of dab52d99fc from master
-rw-r--r--docs/ref/middleware.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
index cb8f737ad2..1bba12e821 100644
--- a/docs/ref/middleware.txt
+++ b/docs/ref/middleware.txt
@@ -37,7 +37,7 @@ defines. See the :doc:`cache documentation </topics/cache>`.
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.