Closed Bug 154406 Opened 22 years ago Closed 22 years ago

Attachment "save as type" useless for unrecognized file types/extensions

Categories

(MailNews Core :: Attachments, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 120327

People

(Reporter: jeff.morriss, Assigned: mscott)

Details

I receive a lot of emails (to Mozilla 1.0 on Windows 2000) with plain text files
from Unix boxes attached.  Most of the time, these attachments do not follow the
typical Windows-style naming convention (e.g., they have names like "myfile.600"
instead of "myfile.txt" or similar).

Double clicking on these files in Mail causes the "Save as" dialog to appear and
I can select where I want the file to go, etc.  Oddly, the default extension for
such attached files is ".exe" (as shown in "Save as type" area).  I don't think
that makes sense, but that's fine...

What *is* wrong, though is that if I change the "Save as type" to be "All files"
(hoping to remove the ".exe" extension) the file is still saved as
"myfile.600.exe".  (Normally I'm saving these files back to Unix so I don't
really want to add ".txt" or any extension.)

This may be somewhat related to bug 96134, but that one deals with saving whole
emails, not attachments.  But maybe the dialog window is the same?
The ".exe" arises because the attachments will have been assigned the MIME type
"application/octet-stream" (probably assigned by a mail client which couldn't
tell what the file really was). This is usually used for applications, hence
Mozilla's addition of the default extension ".exe".
Yes... we suck.

*** This bug has been marked as a duplicate of 120327 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
verified dupe
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.