Changeset 1196 in subversion


Ignore:
Timestamp:
Mar 21, 2008 8:03:45 AM (5 years ago)
Author:
thomasb
Message:

Applied patch to fix mime decoding an folder subscription (#1484191)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/include/rcube_imap.inc

    r1195 r1196  
    16751675      $a_mboxes = $mbox_name; 
    16761676    else if (is_string($mbox_name) && strlen($mbox_name)) 
    1677       $a_mboxes = explode(',', $mbox_name); 
     1677      $a_mboxes = (array)$mbox_name; 
    16781678 
    16791679    // let this common function do the main work 
     
    23362336    if ($pos !== false) 
    23372337      { 
     2338      // rfc: all line breaks or other characters not found in the Base64 Alphabet must be ignored by decoding software 
     2339      // delete all blanks between MIME-lines, differently we can receive unnecessary blanks and broken utf-8 symbols 
     2340      $input = preg_replace("/\?=\s+=\?/", '?==?', $input); 
     2341 
    23382342      $out = substr($input, 0, $pos); 
    23392343   
Note: See TracChangeset for help on using the changeset viewer.