Closed
Bug 276409
Opened 20 years ago
Closed 20 years ago
PDF attachments being sent as text/html instead of application/pdf
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: jkilmer, Assigned: sspitzer)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217
After upgrading to 1.7.5 (Gecko/20041217) from 1.7.3, Mozilla mail started
sending PDFs attached to messages as type text/html instead of application/pdf.
So, recipients are only able to open a text page containing junk like "%PDF-1.3
%âãÏÓ 6 0 obj << /Linearized 1 /O 8 /H [ 873 196 ] /L 76199 /E 7" instead of the
PDF file.
Tried upgrading to 1.8a6 (12/29 build) and downgrading back to 1.7.3, but the
behavior now seems locked in.
As I've been referred there twice now, note that this is NOT the same as Bug
142517. When I receive PDF files, I can open them fine. The problem occurs
when trying to send files. Viewing the source of a sent file, the attachment
portion begins with:
--------------050308080508000507060800
Content-Type: text/html;
name="test.pdf"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="test.pdf"
Note the discrepancy between the pdf file selected, and the 'text/html' content
type. If I manually clip out and decode the base64 content, the attachment
contains the text rubbish as referred to above.
The only adulteration done to my install after upping to 1.7.5 was to install
the Calendar Project .xpi.
I would appreciate it if someone could point me towards any potential for this
-- I'm assuming it's a rare occurrence since I cannot find a similar bug, and
this would have been immediately noticed by many people if it was widespread. I
am attempting to duplicate this problem on a second machine, but have thus far
been unsuccessful.
Reproducible: Always
Steps to Reproduce:
Comment 1•20 years ago
|
||
The first thing to check is your settings under
Preferences | Navigator | Helper Applications
I suspect you'll find an entry for text/html there (which should not be
necessary) and if you Edit that entry, you'll see the pdf extension listed.
Please verify whether that's the case; if so, please mark this bug
Resolved | WorksForMe
Reporter | ||
Comment 2•20 years ago
|
||
Indeed it does. Saw the entry, didn't notice the .pdf extension hiding after
the .htm
Resolving as WorksForMe. Not a clue how this setting got changed.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•