Project

General

Custom queries



Profile

Actions

Feature #19131

closed

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

Added by Felix Schäfer about 10 years ago. Updated about 10 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
#1

Updated by Felix Schäfer about 10 years ago

#9

Updated by Jean-Philippe Lang about 10 years ago

  • Tracker changed from Defect to Feature
  • Subject changed from Don't trust MUAs to always set the correct mime-type for attachments to Use a better content type for attachments created with application/octet-stream
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.0.0
  • Resolution set to Fixed
#10

Updated by Jean-Philippe Lang about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF