- Fix handling of messages with Content-Type: application/* and no filename (#1484050)

release-0.6
alecpl 15 years ago
parent 761894e65b
commit 3e58bf2062

@ -1,6 +1,7 @@
CHANGELOG RoundCube Webmail CHANGELOG RoundCube Webmail
=========================== ===========================
- Fix handling of messages with Content-Type: application/* and no filename (#1484050)
- Improved compose screen: resizable body and attachments list, vertical splitter, options menu - Improved compose screen: resizable body and attachments list, vertical splitter, options menu
- Fix RC forgets search results (#1483883) - Fix RC forgets search results (#1483883)
- TinyMCE 3.3.7 - TinyMCE 3.3.7

@ -488,6 +488,11 @@ class rcube_message
else if ($structure->filename) { else if ($structure->filename) {
$this->attachments[] = $structure; $this->attachments[] = $structure;
} }
// message is a single part non-text (without filename)
else if (preg_match('/application\//i', $mimetype)) {
$structure->filename = 'Part '.$structure->mime_id;
$this->attachments[] = $structure;
}
} }

Loading…
Cancel
Save