summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/libraries/security.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-08-18 11:24:42 +0200
committerAndrey Andreev <narf@devilix.net>2014-08-18 11:24:42 +0200
commit6c52096f4f9147244e9631b8040088025ae6e79d (patch)
tree6ee215be987c8d6460bf4bcb20219650ce926631 /user_guide_src/source/libraries/security.rst
parent3783be66dd29cc079dffc91d6e74f880e56f1f84 (diff)
[ci skip] Polish changes from PR #3176
Diffstat (limited to 'user_guide_src/source/libraries/security.rst')
-rw-r--r--user_guide_src/source/libraries/security.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/user_guide_src/source/libraries/security.rst b/user_guide_src/source/libraries/security.rst
index 19480b4f8..c8d69d16f 100644
--- a/user_guide_src/source/libraries/security.rst
+++ b/user_guide_src/source/libraries/security.rst
@@ -97,10 +97,12 @@ by editing the 'csrf_exclude_uris' config parameter::
$config['csrf_exclude_uris'] = array('api/person/add');
-Optionally, you can use regular expressions in the URIs::
+Regular expressions are also supported (case-insensitive)::
- $config['csrf_exclude_uris'] = array('api/record/[0-9]+','api/title/[a-zA-Z]+');
-
+ $config['csrf_exclude_uris'] = array(
+ 'api/record/[0-9]+',
+ 'api/title/[a-z]+'
+ );
***************
Class Reference
@@ -161,4 +163,4 @@ Class Reference
This method acts a lot like PHP's own native ``html_entity_decode()`` function in ENT_COMPAT mode, only
it tries to detect HTML entities that don't end in a semicolon because some browsers allow that.
- If the ``$charset`` parameter is left empty, then your configured ``$config['charset']`` value will be used.
+ If the ``$charset`` parameter is left empty, then your configured ``$config['charset']`` value will be used. \ No newline at end of file