summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_message.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-23 15:34:51 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-23 15:34:51 +0200
commitbbd636740eecefcb596ce2ad51307263acbb791b (patch)
tree59c247fdc13624ee13ad7b80fe4779a0ce2d8973 /program/lib/Roundcube/rcube_message.php
parentdb108e37793c7f8fc8ba11f00d0561d1f0bd32c0 (diff)
Fix fatal error when parsing UUencoded messages (#1489119)
Diffstat (limited to 'program/lib/Roundcube/rcube_message.php')
-rw-r--r--program/lib/Roundcube/rcube_message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_message.php b/program/lib/Roundcube/rcube_message.php
index a42d3fb28..797ca185e 100644
--- a/program/lib/Roundcube/rcube_message.php
+++ b/program/lib/Roundcube/rcube_message.php
@@ -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);