Closed
Bug 93991
Opened 24 years ago
Closed 24 years ago
Some binary attachments receive text/plain mime type
Categories
(MailNews Core :: MIME, defect, P2)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
mozilla0.9.9
People
(Reporter: jp.martin-flatin, Assigned: sspitzer)
References
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
BuildID: 2001080104
When you attach a pdf file, the content type of the MIME part is mistakenly set
to text/plain. It should be application/pdf. As a result, most mailers can't
read Mozilla 0.9.3's pdf attachments.
Reproducible: Always
Steps to Reproduce:
1. type a short email message and attach a pdf file
2. send the message to yourself
3. move your incoming message from your inbox to a file that you can edit
4. edit the incoming message: you will see that the MIME part with the pdf file
has a wrong content type
Actual Results: Instead of showing up as an attachment, the pdf file shows up
as binary data at the end of your message.
Expected Results: The pdf file should show up as an attachment
I've checked that my $HOME/.mailcap looks good
I have duplicated this, and also noted that, even if you input the MIME type for
pdf's in Mozilla, it still will not set it to the correct MIME type when sending
it as an attachment.
From what I've tested, currently Mozilla sets all attachments to either
text/plain or application/octet-stream. This happens even if you specify the
MIME types in Mozilla.
Comment 3•24 years ago
|
||
Confirming. Marking ->NEW. Nominating for 1.0 since this is a pretty big
issue. Nominating for catfood.
See bug 87122 for further information on this bug.
Comment 4•24 years ago
|
||
Changing summary for clarification. This is not limited to PDF attachments.
Can someone take a look at this?
Summary: Bogus content-type MIME part header for pdf attachments → Some binary attachments recieve text/plain mime type
Updated•24 years ago
|
Summary: Some binary attachments recieve text/plain mime type → Some binary attachments receive text/plain mime type
Comment 7•24 years ago
|
||
This also happens in 9.1.
Comment 8•24 years ago
|
||
seen on platform Sun/Solaris
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
This problem no longer occurs for me in mozilla 0.9.4 when properly using
mailcap and mime.types.
I installed mozilla in /usr/local/mozilla
mailcap and mime.types are located in /etc
In file /usr/local/mozilla/defaults/pref/unix.js I filled in the correct path for
mime.types and mailcap so that it reads:
pref("helpers.global_mime_types_file", "/etc/mime.types");
pref("helpers.global_mailcap_file", "/etc/mailcap");
Furthermore I had to make the following entry in /etc/mime.types
application/pdf pdf
in order to make in send out in the correct mime type
In /etc/mailcap I added
application/pdf; kghostview %s; test=test -n "$DISPLAY"
The entry in /etc/mailcap is not nescesarry for setting the correct outgoing
mime-type, it only makes ghostview open the attachment when clicking on it, this
can also be done by defining the right helper application in mozilla.
Comment 10•24 years ago
|
||
Use of mime.types and mailcap works for other filetypes too
I tested xls, doc, eps, ps and they all work fine now
Comment 11•24 years ago
|
||
WORKSFORME with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4+) Gecko/20011002
Comment 12•24 years ago
|
||
per user comment, WFM
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Comment 13•24 years ago
|
||
Reopen per report request. Seth, can you take a look at this problem and give us
your advise. Thanks
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 14•24 years ago
|
||
reassign to sspitzer for further investigation about mime type problem on Linux.
Assignee: ducarroz → sspitzer
Status: REOPENED → NEW
Updated•24 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.9
Comment 15•24 years ago
|
||
email from thr reporter:
This bug appears to be fixed in Mozilla 0.9.5, at least for pdf files. I cannot
test Mozilla 0.9.6 with Windows 98 because it bombs out immediately after launch.
As far as I am concerned, you can close bug 93991. As Christopher Aillon
aggregated many bug reports into this one, you may want to check that other
problems are fixed as well before closing this bug.
Thanks for your help
J.P. Martin-Flatin
Status: NEW → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → WORKSFORME
Comment 16•24 years ago
|
||
*** Bug 121208 has been marked as a duplicate of this bug. ***
Comment 17•24 years ago
|
||
verified wfm. unable to duplicate problem with latest mozilla trunk build 2002022703
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•