Closed
Bug 64787
Opened 25 years ago
Closed 17 years ago
sending / reading .wav file attachments behaviour differs from 4.x
Categories
(MailNews Core :: Composition, defect)
Tracking
(Not tracked)
People
(Reporter: sspitzer, Unassigned)
Details
when I send the same .wav file from 4.x and from 6.x:
1) when using 4.x to read mail, both attachments show up as type "audio/x-wav"
2) when using 6.x to read mail, the attachment sent from 4.x has the right type
("audio/x-wav") and the attachment sent from 6.x has "application/octet-stream"
cc'ing mscott, who might already own this bug.
Comment 1•25 years ago
|
||
Is this the same as http://bugzilla.mozilla.org/show_bug.cgi?id=57297 ??
I'm pretty sure it is, but I won't mark it till I'm 100% sure. Mscott?
QA Contact: esther → fenella
Comment 4•24 years ago
|
||
This problem seems to occur when the attachment has NOT been downloaded with the
message.
Comment 5•24 years ago
|
||
Thought I should add a little more background information. Via the
Edit/Preferences/Navigator/Helper Applications dialog, I've defined a helper
application for "audio/x-wav" to be associated with file extensions "wav". This
information is stored in my ~/.mozilla/default/mimeTypes.rdf file just fine.
The problem occurs when nsMsgComposeAndSend::AddCompFieldLocalAttachments()
calls nsExternalHelperAppService::GetTypeFromExtension() to get the content
type. This function only looks for the file extension in the MIME cache and
plugins. From what I can decipher, the MIME cache was loaded with just the
default MIME entries, content type mappings that are handled internally by
Mozilla; none of the helper applications defined by the user are in the cache so
the hash key lookup fails for the "wav" extension. This causes the previously
mentioned compose function to default to "application/octet-stream" for the
content type.
It seems to me that there's some missing logic in nsExternalHelperAppService but
maybe it's just tucked away somewhere else...
Comment 6•24 years ago
|
||
nsExternalHelperAppService::GetFromMIMEType() calls
GetMIMEInfoForMimeTypeFromDS() to check the mimeTypes.rdf file when it doesn't
find the requested content type in the hash table. Seems like similar logic is
needed in nsExternalHelperAppService::GetFromExtension()...
Comment 7•24 years ago
|
||
reassign to mscott, should be same problem as 57297
Assignee: ducarroz → mscott
QA Contact: trix → stephend
Updated•21 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Assignee: mscott → nobody
QA Contact: stephend → composition
| Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Comment 8•17 years ago
|
||
since two people have said it, duping
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•