From 40353f1a6c7e80ae373a2dcec7ae16db217162a5 Mon Sep 17 00:00:00 2001 From: alecpl Date: Wed, 3 Mar 2010 12:41:55 +0000 Subject: - Fix regression in template expressions, don't allow '-' character in env/request/cookie name --- program/include/rcube_template.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/include/rcube_template.php') diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 5272ace20..f8f4963ba 100755 --- a/program/include/rcube_template.php +++ b/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( -- cgit v1.2.3