Changeset 7779


Ignore:
Timestamp:
01/22/13 10:15:50 (11 years ago)
Author:
marcieli
Message:

Ticket #3316 - Corrigido problema ao criar pasta com '.' no nome, deve ser quebrado em subpastas.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/inc/class.imap_functions.inc.php

    r7728 r7779  
    25582558                $mbox_stream = $this->open_mbox(); 
    25592559                $imap_server = $_SESSION['phpgw_info']['expressomail']['email_server']['imapServer']; 
    2560                 $test = explode("/", $namebox); 
     2560        /* Quebra nome da pasta quando houver pontos ou barras (possíveis delimitadores do cyrus) */ 
     2561        $test = preg_split("/\/|\./", $namebox); 
    25612562                if(count($test) < 1 || $base_path == null || $base_path == "" || $base_path == 'undefined'){ 
    25622563                        if($base_path != null || $base_path != "" || $base_path != 'undefined'){ 
Note: See TracChangeset for help on using the changeset viewer.