Project

General

Profile

Actions

Feature #19131

closed

Use a better content type for attachments created with application/octet-stream

Added by Felix Schäfer about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Email receiving
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Some email clients will always send attachments with a mime-type of application/octet-stream instead of correctly setting the attachment of the mime-type. We are aware of Outlook 15 showing this behaviour, but it might not be the only one.

This is a problem in the case where the front-end web server behind which Redmine runs sends the X-Content-Type-Options: nosniff header, which stops the browser from trying to guess the mime type of files the server sends it (this header is set on the Planio platform for security reasons).

This combination leads to thumbnails not being shown:

Files

19131.patch (18.6 KB) 19131.patch Felix Schäfer, 2015-02-18 20:58
Actions

Also available in: Atom PDF