Changeset d311d80 in github for program/steps/mail/get.inc


Ignore:
Timestamp:
May 28, 2010 5:38:41 AM (3 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
b231f68b
Parents:
89e31be
Message:
  • Fix forwarding of messages with winmail attachments
  • Remove some redundant code for winmail handling in get.inc, move tnef_decode() to rcube_message
  • Fix handling of uuencoded attachments in message body (#1485839)
  • Extend rc_mime_content_type() to work with string buffer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/get.inc

    r1097a3c rd311d80  
    5151 
    5252else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) { 
    53   // TNEF encoded attachment part 
    54   if (preg_match('/^winmail\.([0-9.]+)\.([0-9]+)$/', $pid, $nt)) { 
    55     $pid = $nt[1]; $i = $nt[2]; 
    56     if ($part = $MESSAGE->mime_parts[$pid]) { 
    57       $tnef_arr = $IMAP->tnef_decode($part, $MESSAGE->uid); 
    58       if (is_a($tnef_arr[$i], 'rcube_message_part')) 
    59         $MESSAGE->mime_parts[$pid] = $tnef_arr[$i]; 
    60     } 
    61   } 
    62    
     53 
    6354  if ($part = $MESSAGE->mime_parts[$pid]) { 
    6455    $ctype_primary = strtolower($part->ctype_primary); 
Note: See TracChangeset for help on using the changeset viewer.