diff options
author | alecpl <alec@alec.pl> | 2010-10-20 11:41:48 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-10-20 11:41:48 +0000 |
commit | e0bd7054b7e566bf156e8afdc6d4c790fed0c0f2 (patch) | |
tree | 6a862ddff28efd13bbc1c37e1d50d3355d7f64f1 /program/steps/mail/get.inc | |
parent | 2ae58f1b6782ad03cb4801b1eb2684f0d9351b32 (diff) |
- Add workaround for some Outlook's wrong content-types, per discussion in #1487051
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r-- | program/steps/mail/get.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 3c4e4fbfc..5b9e97776 100644 --- a/program/steps/mail/get.inc +++ b/program/steps/mail/get.inc @@ -91,6 +91,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) { header("Content-Type: text/$ctype_secondary; charset=" . ($part->charset ? $part->charset : RCMAIL_CHARSET)); } else { + $mimetype = rcmail_fix_mimetype($mimetype); header("Content-Type: $mimetype"); header("Content-Transfer-Encoding: binary"); } |