Changeset 1357 in subversion
- Timestamp:
- May 5, 2008 8:56:39 AM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/settings/manage_folders.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1355 r1357 6 6 - Installer: encode special characters in DB username/password (#1485042) 7 7 - Do charset conversion also for from/to column on messages list 8 - Fix management of folders with national characters in names (#1485036, #1485001) 8 9 9 10 2008/05/02 (alec) -
trunk/roundcubemail/program/steps/settings/manage_folders.inc
r1344 r1357 47 47 { 48 48 if (!empty($_POST['_name'])) 49 $create = $IMAP->create_mailbox(trim(get_input_value('_name', RCUBE_INPUT_POST, FALSE, 'UTF-7')), TRUE); 50 49 { 50 $name = trim(get_input_value('_name', RCUBE_INPUT_POST, FALSE, 'UTF-7')); 51 // #1485036 (RFC3501, 5.1.3) TODO: it should be done on read not on write 52 $name = str_replace('&-', '&', $name); 53 $create = $IMAP->create_mailbox($name, TRUE); 54 } 55 51 56 if ($create && $OUTPUT->ajax_call) 52 57 { … … 66 71 { 67 72 if (!empty($_POST['_folder_oldname']) && !empty($_POST['_folder_newname'])) 68 $rename = $IMAP->rename_mailbox(($oldname = get_input_value('_folder_oldname', RCUBE_INPUT_POST)), trim(get_input_value('_folder_newname', RCUBE_INPUT_POST, FALSE, 'UTF-7'))); 69 73 { 74 $name = trim(get_input_value('_folder_newname', RCUBE_INPUT_POST, FALSE, 'UTF-7')); 75 // #1485036 (RFC3501, 5.1.3) TODO: it should be done on read not on write 76 $name = str_replace('&-', '&', $name); 77 $rename = $IMAP->rename_mailbox(($oldname = get_input_value('_folder_oldname', RCUBE_INPUT_POST)), $name); 78 } 79 70 80 if ($rename && $OUTPUT->ajax_call) 71 81 {
Note: See TracChangeset
for help on using the changeset viewer.
