Index: program/steps/settings/save_prefs.inc
===================================================================
--- program/steps/settings/save_prefs.inc	(revision d7344819834e469c2e5875f756f1ad973b2e06d9)
+++ program/steps/settings/save_prefs.inc	(revision d9641b0874ae1c0344600c5566e0d1135bd7f0cd)
@@ -81,5 +81,5 @@
   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),
     );
 
@@ -100,8 +100,8 @@
   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),
     );
 
