Changeset 9e60d4b in github


Ignore:
Timestamp:
Mar 21, 2008 8:03:45 AM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
52f8caf
Parents:
17b5fb7
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/include/rcube_imap.inc

    r17b5fb7 r9e60d4b  
    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.