Changeset 021ef41 in github
- Timestamp:
- May 20, 2010 3:56:33 AM (3 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 24c91ed
- Parents:
- c1439f9
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/steps/mail/compose.inc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
rc1439f9 r021ef41 2 2 =========================== 3 3 4 - Fix duplicated attachments when forwarding a message (#1486487) 4 5 - Fix message/rfc822 attachments containing only attachments are not parsed properly (#1486743) 5 6 - Fix %00 character in winmail.dat attachments names (#1486738) -
program/steps/mail/compose.inc
r677e1f2 r021ef41 739 739 global $OUTPUT; 740 740 741 $cid_map = array();741 $cid_map = $messages = array(); 742 742 foreach ((array)$message->mime_parts as $pid => $part) 743 743 { … … 745 745 ($part->disposition == 'attachment' || ($part->disposition == 'inline' && $bodyIsHtml) || $part->filename)) 746 746 { 747 if ($attachment = rcmail_save_attachment($message, $pid)) { 747 $skip = false; 748 if ($part->mimetype == 'message/rfc822') { 749 $messages[] = $part->mime_id; 750 } else if ($messages) { 751 // skip attachments included in message/rfc822 attachment (#1486487) 752 foreach ($messages as $mimeid) 753 if (strpos($part->mime_id, $mimeid.'.') === 0) { 754 $skip = true; 755 break; 756 } 757 } 758 759 if (!$skip && ($attachment = rcmail_save_attachment($message, $pid))) { 748 760 $_SESSION['compose']['attachments'][$attachment['id']] = $attachment; 749 761 if ($bodyIsHtml && $part->content_id) {
Note: See TracChangeset
for help on using the changeset viewer.
