summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-02-06 07:58:09 +0000
committerthomascube <thomas@roundcube.net>2008-02-06 07:58:09 +0000
commit58dd6ef88e40a00c07d62f9365fd8c380db4fbc1 (patch)
tree327f378242ced0ff172acaaf173c6f8796c197f8
parent6726f0c369e87c3cc34b2c2815935c87bc196c3d (diff)
Little fix for an unused feature :-)
-rw-r--r--program/include/rcmail_template.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail_template.inc b/program/include/rcmail_template.inc
index bfc31d3c0..d6eb35ca5 100644
--- a/program/include/rcmail_template.inc
+++ b/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);
}