diff options
author | caseyh <crh431@gmail.com> | 2014-08-18 11:13:11 +0200 |
---|---|---|
committer | caseyh <crh431@gmail.com> | 2014-08-18 11:13:11 +0200 |
commit | 8ef828129c559705447dd66a597071de5ae564a9 (patch) | |
tree | 063b7cd9d26ce17f4f8516e0ec6f7d8e61739d6f /user_guide_src/source/libraries/security.rst | |
parent | 5ac7c77ee60b108fb9dee84b5fc0acf04638c6f5 (diff) |
Alter Pull #3176 - CSRF Whitelist
Diffstat (limited to 'user_guide_src/source/libraries/security.rst')
-rw-r--r-- | user_guide_src/source/libraries/security.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/user_guide_src/source/libraries/security.rst b/user_guide_src/source/libraries/security.rst index 566924398..19480b4f8 100644 --- a/user_guide_src/source/libraries/security.rst +++ b/user_guide_src/source/libraries/security.rst @@ -97,10 +97,9 @@ by editing the 'csrf_exclude_uris' config parameter:: $config['csrf_exclude_uris'] = array('api/person/add'); -Optionally, you can use regular expressions as well as the ':any' and ':num' -wildcards in the URIs:: +Optionally, you can use regular expressions in the URIs:: - $config['csrf_exclude_uris'] = array('api/record/:num','api/title/[a-zA-Z]+'); + $config['csrf_exclude_uris'] = array('api/record/[0-9]+','api/title/[a-zA-Z]+'); *************** @@ -162,4 +161,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.
\ No newline at end of file + If the ``$charset`` parameter is left empty, then your configured ``$config['charset']`` value will be used. |