diff options
| author | Brenton Cleeland <brenton@brntn.me> | 2013-07-25 20:57:49 +1000 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-25 07:38:14 -0400 |
| commit | dab52d99fc821f31ab64177551b90d0a513f1eee (patch) | |
| tree | 49ce64bdd12fff6c4e0b09bac0eb1b5d2563826e /docs | |
| parent | 10f8a2100279621ca0e0fa47d99ee744741a05e7 (diff) | |
Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/middleware.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 4898bab636..d011f054ac 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. |
