diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-03 12:41:55 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-03-03 12:41:55 +0000 |
| commit | e85f4014602769984ed50e5273be942b9188fc93 (patch) | |
| tree | 88e465b24bd40a7df8366bec3dd7b090a359cf77 /roundcubemail/program/include/rcube_template.php | |
| parent | b7142e4ecb26cb9afee46f986c83f58f9bbf1510 (diff) | |
- Fix regression in template expressions, don't allow '-' character in env/request/cookie name
git-svn-id: https://svn.roundcube.net/trunk@3314 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcube_template.php')
| -rwxr-xr-x | roundcubemail/program/include/rcube_template.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/include/rcube_template.php b/roundcubemail/program/include/rcube_template.php index 5272ace20..f8f4963ba 100755 --- a/roundcubemail/program/include/rcube_template.php +++ b/roundcubemail/program/include/rcube_template.php @@ -563,9 +563,9 @@ class rcube_template extends rcube_html_page array( '/session:([a-z0-9_]+)/i', '/config:([a-z0-9_]+)(:([a-z0-9_]+))?/i', - '/env:([a-z0-9_-]+)/i', - '/request:([a-z0-9_-]+)/i', - '/cookie:([a-z0-9_-]+)/i', + '/env:([a-z0-9_]+)/i', + '/request:([a-z0-9_]+)/i', + '/cookie:([a-z0-9_]+)/i', '/browser:([a-z0-9_]+)/i' ), array( |
