Fix fatal error when parsing UUencoded messages (#1489119)

This commit is contained in:
Aleksander Machniak
2013-05-23 15:34:51 +02:00
parent db108e3779
commit bbd636740e
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Fix fatal error when parsing UUencoded messages (#1489119)
- Change Reply-All button label/title when mailing list is detected (#1488938)
- Fix SMTP connection using IPv6 address in smtp_server option (#1489024)
- Added attachment_reminder plugin

View File

@@ -785,7 +785,7 @@ class rcube_message
$uupart->size = strlen($uupart->body);
$uupart->mime_id = 'uu.' . $part->mime_id . '.' . $pid;
$ctype = rcube_mime::content_type($uupart->body, $uupart->filename, 'application/octet-stream', true);
$ctype = rcube_mime::file_content_type($uupart->body, $uupart->filename, 'application/octet-stream', true);
$uupart->mimetype = $ctype;
list($uupart->ctype_primary, $uupart->ctype_secondary) = explode('/', $ctype);