From 58dd6ef88e40a00c07d62f9365fd8c380db4fbc1 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 06 Feb 2008 02:58:09 -0500
Subject: [PATCH] Little fix for an unused feature :-)

---
 program/include/rcmail_template.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/program/include/rcmail_template.inc b/program/include/rcmail_template.inc
index bfc31d3..d6eb35c 100644
--- a/program/include/rcmail_template.inc
+++ b/program/include/rcmail_template.inc
@@ -358,7 +358,7 @@
    */
   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);
   }
   

--
Gitblit v1.9.1