Changeset fd371a51 in github


Ignore:
Timestamp:
Nov 29, 2010 4:54:15 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:
e17553d
Parents:
9016a84
Message:
  • Fix attachments of type message/rfc822 are not listed on attachments list
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG

    r5f560ee7 rfd371a51  
    33 
    44- Plugin API: Add 'pass' argument in 'authenticate' hook (#1487134) 
     5- Fix attachments of type message/rfc822 are not listed on attachments list 
    56 
    67RELEASE 0.5-BETA 
  • program/include/rcube_message.php

    r63f9dee6 rfd371a51  
    427427                        $this->parts[] = $mail_part; 
    428428                    } 
    429            
     429 
    430430                    // list as attachment as well 
    431431                    if (!empty($mail_part->filename)) 
     
    474474                    else if ($part_orig_mimetype == 'message/rfc822') { 
    475475                        $this->parse_structure($mail_part, true); 
     476 
     477                        // list as attachment as well (mostly .eml) 
     478                        if (!empty($mail_part->filename)) 
     479                            $this->attachments[] = $mail_part; 
    476480                    } 
    477481                    // is a regular attachment (content-type name regexp according to RFC4288.4.2) 
Note: See TracChangeset for help on using the changeset viewer.