All users were logged out of Bugzilla on October 13th, 2018

Zip attachments get content-type text/xml and content-disposition inline

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
12 years ago
11 years ago

People

(Reporter: spettini, Unassigned)

Tracking

x86
Windows Server 2003

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
Build Identifier: version 2.0.0.4 (20070604)

I discovered the bug since these zip attachments are displayed with the XML icon an the binary data appears as email text. Looking to sent email's details, content-type and content-disposition of EVERY attached zip files are wrong. This seems to depend from file extension.

Reproducible: Always

Steps to Reproduce:
1. Compose a new message.
2. Attach one or more zip file to the message, dragging the icon on the compose window or clicking on the Attach button.
3. Send the message.
Actual Results:  
An email is sent with a file attached. Unfortunately, the content-type and content-disposition header are wrong, confusing the recipient and his email client.

Content-Type: text/xml;
 name="Desktop.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
 filename="Desktop.zip"

Expected Results:  
Correct content-type and content-disposition headers

I have no special software installed handling .zip files and .zip files windows association in a non-conventional way. I run 7-Zip, but no problem with .rar or .7z files
(Reporter)

Updated

12 years ago
Version: unspecified → 2.0
Check you settings under Options > Attachments > View&Edit actions.
(Reporter)

Comment 2

12 years ago
Options > Attachments > View&Edit actions window is empty

Comment 3

11 years ago
See bug 311138 for download/attachments actions defined but not shown.
Check mimeTypes.rdf or install the MIME Edit extension as a workaround.

Inappropriate content disposition of "inline" is bug 65794.

Comment 4

11 years ago
> [zip attachments are displayed with XML icon]. Looking to sent email's details,
> content-type and content-disposition of EVERY attached zip files are wrong.

Do you still see this problem, and if yes, did you verify your MIME settings in mimeTypes.rdf or by using MIME Edit extension as I suggested in comment #3?
If you want this bug to stay open, please respond with further information, otherwise that's likely to resolve as incomplete.
Whiteboard: closeme 05/11

Comment 5

11 years ago
No further response from the reporter, it's not possible to conclusively determine what caused the wrong content-type assignment.

Resolving, please reopen if you have more information to add.
-> INCOMLPETE
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → INCOMPLETE
Whiteboard: closeme 05/11
You need to log in before you can comment on or make changes to this bug.