summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcmail_template.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-09 17:45:24 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2007-09-09 17:45:24 +0000
commitee82629d89b54694b9087dbbcb9c91e764e2561d (patch)
tree9df351bb66e3b4d3ba40b8bb36e0b81d50001bc7 /roundcubemail/program/include/rcmail_template.inc
parent1256848fe21e1cddfde58cd8d0c8f4069960f7f0 (diff)
Ensure XHTML validation
git-svn-id: https://svn.roundcube.net/trunk@786 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/rcmail_template.inc')
-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 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);
}