Changeset 2256 in subversion


Ignore:
Timestamp:
Jan 23, 2009 5:29:51 AM (4 years ago)
Author:
alec
Message:
  • Fixed creation of folders with '&' sign in name (reverted r1357)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r2252 r2256  
    11CHANGELOG RoundCube Webmail 
    22--------------------------- 
     3 
     42009/01/23 (alec) 
     5---------- 
     6- Fix creation of folders with '&' sign in name 
     7- Fix parsing of email addresses without angle brackets (#1485693) 
     8- Save spellcheck corrections when switching from plain to html editor (and spellchecking is on) 
    39 
    4102009/01/22 (thomasb) 
  • trunk/roundcubemail/program/steps/settings/manage_folders.inc

    r2237 r2256  
    4545    { 
    4646    $name = trim(get_input_value('_name', RCUBE_INPUT_POST, FALSE, 'UTF-7')); 
    47     // #1485036 (RFC3501, 5.1.3) TODO: it should be done on read not on write 
    48     $name = str_replace('&-', '&', $name); 
    4947    $create = $IMAP->create_mailbox($name, TRUE); 
    5048    } 
     
    7876    $name = rcube_charset_convert($name_utf8, 'UTF-8', 'UTF-7'); 
    7977    $oldname = rcube_charset_convert($oldname_utf8, 'UTF-8', 'UTF-7'); 
    80  
    81     // #1485036 (RFC3501, 5.1.3) TODO: it should be done on read not on write 
    82     $name = str_replace('&-', '&', $name); 
    8378 
    8479    $rename = $IMAP->rename_mailbox($oldname, $name); 
     
    191186  $delimiter = $IMAP->get_hierarchy_delimiter(); 
    192187  $a_js_folders = $seen_folders = $list_folders = array(); 
    193    
     188 
    194189  // pre-process folders list 
    195190  foreach ($a_unsubscribed as $i => $folder) { 
     
    198193    $parent_folder = join($delimiter, $foldersplit); 
    199194    $level = count($foldersplit); 
    200      
     195 
    201196    // add any necessary "virtual" parent folders 
    202197    if ($parent_folder && !$seen[$parent_folder]) { 
Note: See TracChangeset for help on using the changeset viewer.