summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-06 07:58:09 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-06 07:58:09 +0000
commit1c0d57518e19e34ed17ea17477e0753c7070e6e4 (patch)
treee8141bf2466165ae0a60539b3562709a32a11ec8
parent9742b560e4d77f466ec99a69765a1520a2181bf5 (diff)
Little fix for an unused feature :-)
git-svn-id: https://svn.roundcube.net/trunk@1024 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/rcmail_template.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcmail_template.inc b/roundcubemail/program/include/rcmail_template.inc
index bfc31d3c0..d6eb35ca5 100644
--- a/roundcubemail/program/include/rcmail_template.inc
+++ b/roundcubemail/program/include/rcmail_template.inc
@@ -358,7 +358,7 @@ class rcmail_template extends rcube_html_page
*/
function parse_with_globals($input)
{
- $GLOBALS['__comm_path'] = urlencode($GLOBALS['COMM_PATH']);
+ $GLOBALS['__comm_path'] = Q($GLOBALS['COMM_PATH']);
return preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
}