Closed Bug 189391 Opened 23 years ago Closed 22 years ago

Open Attachment Function only considers MIME type, not file extension

Categories

(MailNews Core :: Attachments, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 67940

People

(Reporter: jochen, Assigned: mscott)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021212 Sometimes I receive Mail attachments that are coded with Content-Type: application/octet-stream; Example: Powerpoint-Presentation sent through Outlook Express The file hast the extension ".pps". When I tell Mozilla to open the Attachment, it offers to use "ark" as it would for zip-files, because ark is assigned to the octet-stream MIME type. Because other attachments come with this MIME type too, I cannot simply assign octet-stream to the Powerpoint Viewer as a quick workaround. I report this case here becaue I think it would be great if I could not only assign helper applications by MIME types but also by file extension. Wouldn't it be possible to get this information from the KDE settings? *wild-dreams* Or maybe, if I would create an assignment application/ms-powerpoint with extension pps, then I can choose between using the assignment by MIME-Type or by Extension? Reproducible: Always Steps to Reproduce: 1. Assign MIME type "application/octet-stream" to any application 2. Receive a mail that has an attachment that is coded "application/octet-stream" (I guess you can do this using Outlook Express) and has the extension ".pps" 3. Open the attachment Actual Results: Mozilla lets you choose to open the attachment with the application assigned to the MIME type or save the file to disk. Expected Results: Let me choose between opening the attachment with the application assigned to the MIME type or opening the attachment with the application assigned to the extension or save the file.
I seem to see a similar problem. When I receive an attachment as Content-Type: application/octet-stream; name="123.pdf" It is opened as HTML (which is probably the default "octet-stream" handler). Very inconvenient ...
*** This bug has been marked as a duplicate of 67940 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Verified dup.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.