diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-11-07 15:00:54 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-11-07 15:00:54 +0100 |
commit | 96247867f29d01e7e8363259b6f666dc67e7bb72 (patch) | |
tree | b3c6e6ab290e6826924999ce461b0cab1e10bfce /program/steps/settings/edit_folder.inc | |
parent | d1a17029a3eff704fd00c0f1f1d219869944fcc9 (diff) |
Fix operations on folders with trailing spaces in name (#1489419)
Diffstat (limited to 'program/steps/settings/edit_folder.inc')
-rw-r--r-- | program/steps/settings/edit_folder.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/settings/edit_folder.inc b/program/steps/settings/edit_folder.inc index f19e2177b..7f2a10ebc 100644 --- a/program/steps/settings/edit_folder.inc +++ b/program/steps/settings/edit_folder.inc @@ -28,11 +28,11 @@ function rcmail_folder_form($attrib) $storage = $RCMAIL->get_storage(); // edited folder name (empty in create-folder mode) - $mbox = trim(get_input_value('_mbox', RCUBE_INPUT_GPC, true)); + $mbox = get_input_value('_mbox', RCUBE_INPUT_GPC, true); $mbox_imap = rcube_charset_convert($mbox, RCMAIL_CHARSET, 'UTF7-IMAP'); // predefined path for new folder - $parent = trim(get_input_value('_path', RCUBE_INPUT_GPC, true)); + $parent = get_input_value('_path', RCUBE_INPUT_GPC, true); $parent_imap = rcube_charset_convert($parent, RCMAIL_CHARSET, 'UTF7-IMAP'); $threading_supported = $storage->get_capability('THREAD'); |