From ee82629d89b54694b9087dbbcb9c91e764e2561d Mon Sep 17 00:00:00 2001 From: thomasb Date: Sun, 9 Sep 2007 17:45:24 +0000 Subject: Ensure XHTML validation git-svn-id: https://svn.roundcube.net/trunk@786 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcmail_template.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcmail_template.inc') diff --git a/roundcubemail/program/include/rcmail_template.inc b/roundcubemail/program/include/rcmail_template.inc index a3937c8d6..4acc717b8 100644 --- a/roundcubemail/program/include/rcmail_template.inc +++ b/roundcubemail/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); } -- cgit v1.2.3