Closed Bug 549252 Opened 14 years ago Closed 14 years ago

Content-Disposition is not set correctly

Categories

(Thunderbird :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 452092

People

(Reporter: jzhang918, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091216 Iceweasel/3.5.6 (like Firefox/3.5.6; Debian-3.5.6-2)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2

When mail.content_disposition_type = 1 (default), the Content-Disposition is set to "attachment" whether the attachment is text/plain or not.

When mail.content_disposition_type = 1 (default), the Content-Disposition is set to "inline" whether the attachment is text/plain or not.

Shouldn't the Content-Disposition be set according to the MIME type of the attachment. This bug caused an issue when I sent a text/plain attachment to someone using kmail, he could not see the attachment inline because the Content-Disposition was set to "attachment".



Reproducible: Always

Steps to Reproduce:
1. Compose an email with a text file attachment.
2. Compose an email with a gzip file attachment.

Actual Results:  
The Content-Disposition of both attachment are same.

Expected Results:  
The Content-Disposition of the text attachment should be inline.
The Content-Disposition of the gzip attachment should be attachment.
Duplicate of MailNews Core bug 452092?
I think so. Reporter, can you confirm or reopen?
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Yes. this bug seems a duplicate of bug 452092.
You need to log in before you can comment on or make changes to this bug.