summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-27 13:13:32 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-27 13:13:32 +0000
commit3c31b06abf3b10d0d252c27e61242c4782e2f3d1 (patch)
tree26e35dc254a52f82653b2b19398ee3d570300035
parentae8aa5d090c6807156efb0bad28d175ac235e6ba (diff)
- Allow setting special folder with "<" character
git-svn-id: https://svn.roundcube.net/trunk@4813 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/settings/save_prefs.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc
index 031e0d3e4..a5ec2346a 100644
--- a/roundcubemail/program/steps/settings/save_prefs.inc
+++ b/roundcubemail/program/steps/settings/save_prefs.inc
@@ -80,7 +80,7 @@ switch ($CURR_SECTION)
case 'addressbook':
$a_user_prefs = array(
- 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST),
+ 'default_addressbook' => get_input_value('_default_addressbook', RCUBE_INPUT_POST, true),
);
break;
@@ -99,10 +99,10 @@ switch ($CURR_SECTION)
case 'folders':
$a_user_prefs = array(
- 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST),
- 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST),
- 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST),
- 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST),
+ 'drafts_mbox' => get_input_value('_drafts_mbox', RCUBE_INPUT_POST, true),
+ 'sent_mbox' => get_input_value('_sent_mbox', RCUBE_INPUT_POST, true),
+ 'junk_mbox' => get_input_value('_junk_mbox', RCUBE_INPUT_POST, true),
+ 'trash_mbox' => get_input_value('_trash_mbox', RCUBE_INPUT_POST, true),
);
break;