- Fix handling of attachments inside message/rfc822 parts (#1488026)

release-0.7
alecpl 13 years ago
parent 95192c6d0f
commit 8757f5b57d

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail CHANGELOG Roundcube Webmail
=========================== ===========================
- Fix handling of attachments inside message/rfc822 parts (#1488026)
- Make list of mimetypes that open in preview window configurable (#1487625) - Make list of mimetypes that open in preview window configurable (#1487625)
- Added plugin hook 'message_part_get' for attachment downloads - Added plugin hook 'message_part_get' for attachment downloads
- Localize forwarded message header (#1488058) - Localize forwarded message header (#1488058)

@ -432,7 +432,7 @@ class rcube_message
$this->attachments[] = $mail_part; $this->attachments[] = $mail_part;
} }
// part message/* // part message/*
else if ($primary_type=='message') { else if ($primary_type == 'message') {
$this->parse_structure($mail_part, true); $this->parse_structure($mail_part, true);
// list as attachment as well (mostly .eml) // list as attachment as well (mostly .eml)
@ -496,6 +496,10 @@ class rcube_message
$this->attachments[] = $mail_part; $this->attachments[] = $mail_part;
} }
} }
// attachment part as message/rfc822 (#1488026)
else if ($mail_part->mimetype == 'message/rfc822') {
$this->parse_structure($mail_part);
}
} }
// if this was a related part try to resolve references // if this was a related part try to resolve references

Loading…
Cancel
Save