summaryrefslogtreecommitdiff
path: root/program/steps/mail/show.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-10-20 11:41:48 +0000
committeralecpl <alec@alec.pl>2010-10-20 11:41:48 +0000
commite0bd7054b7e566bf156e8afdc6d4c790fed0c0f2 (patch)
tree6a862ddff28efd13bbc1c37e1d50d3355d7f64f1 /program/steps/mail/show.inc
parent2ae58f1b6782ad03cb4801b1eb2684f0d9351b32 (diff)
- Add workaround for some Outlook's wrong content-types, per discussion in #1487051
Diffstat (limited to 'program/steps/mail/show.inc')
-rw-r--r--program/steps/mail/show.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 328e9d0c7..c3046f634 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -172,7 +172,7 @@ function rcmail_message_attachments($attrib)
'return %s.command(\'load-attachment\',{part:\'%s\', mimetype:\'%s\'},this)',
JS_OBJECT_NAME,
$attach_prop->mime_id,
- $attach_prop->mimetype),
+ rcmail_fix_mimetype($attach_prop->mimetype)),
'title' => Q($title),
),
Q($filename)));