summaryrefslogtreecommitdiff
path: root/docs/ref
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:42 -0400
commitbe6d795854b5b3c50d3370720b8eb3861d5ff32f (patch)
tree21465ecd54b47bd75652c0e4b0002669d19852c0 /docs/ref
parent01910115329c2073e6c68b214155dd5fb87132c8 (diff)
[1.5.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report. Backport of dab52d99fc from master
Diffstat (limited to 'docs/ref')
-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 f36c1c34d5..92b69a2fa8 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.