summaryrefslogtreecommitdiff
path: root/program/include/rcmail_template.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-09-09 17:45:24 +0000
committerthomascube <thomas@roundcube.net>2007-09-09 17:45:24 +0000
commitbd4209e20979f43ccacae81ef5ce4adc80018ee2 (patch)
tree029a33be7fedf2576efca21325da4b506e31e18e /program/include/rcmail_template.inc
parente64fe07c472c9ddf38b9da2271c7bc26c5473008 (diff)
Ensure XHTML validation
Diffstat (limited to 'program/include/rcmail_template.inc')
-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 a3937c8d6..4acc717b8 100644
--- a/program/include/rcmail_template.inc
+++ b/program/include/rcmail_template.inc
@@ -345,7 +345,7 @@ class rcmail_template extends rcube_html_page
*/
function parse_with_globals($input)
{
- $GLOBALS['__comm_path'] = $GLOBALS['COMM_PATH'];
+ $GLOBALS['__comm_path'] = urlencode($GLOBALS['COMM_PATH']);
return preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
}