summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-27 13:01:05 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-27 13:01:05 +0000
commitae8aa5d090c6807156efb0bad28d175ac235e6ba (patch)
tree1bd52121379dd4ef6d82ee82a67ddad40a88dd10 /roundcubemail/program/include
parentf665aaaffa4023cfc13980833634684c0524f427 (diff)
- Fix handling of "<" character in contact data, search fields and folder names, identity name and organization fields (#1487864)
git-svn-id: https://svn.roundcube.net/trunk@4812 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
-rw-r--r--roundcubemail/program/include/main.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/roundcubemail/program/include/main.inc b/roundcubemail/program/include/main.inc
index 44a43c64c..98b8bcb46 100644
--- a/roundcubemail/program/include/main.inc
+++ b/roundcubemail/program/include/main.inc
@@ -867,8 +867,7 @@ function rcmail_get_edit_field($col, $value, $attrib, $type='text')
// use value from post
if (isset($_POST[$fname])) {
- $postvalue = get_input_value($fname, RCUBE_INPUT_POST,
- $type == 'textarea' && strpos($attrib['class'], 'mce_editor')!==false ? true : false);
+ $postvalue = get_input_value($fname, RCUBE_INPUT_POST, true);
$value = $attrib['array'] ? $postvalue[intval($colcounts[$col]++)] : $postvalue;
}