summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-03 13:58:12 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-11-03 13:58:12 +0000
commit36d7b96623d85566c4b146fae4886f0eb7f4bcce (patch)
tree4811ca0c6a9c22a78bea34a89dba7f8cdef22ad0
parent90dfa537dac3c0859d2d4922dfd7c00ccb3d04e9 (diff)
r2032 fix: escape backslashes
git-svn-id: https://svn.roundcube.net/trunk@2034 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/include/main.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index 43a354919..21856bc80 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/program/include/main.inc
@@ -349,6 +349,7 @@ function rep_specialchars_output($str, $enctype='', $mode='', $newlines=TRUE)
$xml_rep_table['"'] = '&quot;';
$js_rep_table['"'] = '\\"';
$js_rep_table["'"] = "\\'";
+ $js_rep_table["\\"] = "\\\\";
}
// encode for XML