PDF attachments with Content-Type: application/octet-stream are handled bad
Categories
(MailNews Core :: Attachments, defect)
Tracking
(Not tracked)
People
(Reporter: tokoe, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [needs slightly updated patch])
Attachments
(4 files, 3 obsolete files)
(deleted),
patch
|
dmosedale
:
review+
Bienvenu
:
superreview-
|
Details | Diff | Splinter Review |
(deleted),
text/plain; charset="iso-8859-1"
|
Details | |
(deleted),
application/vnd.openxmlformats-officedocument.wordprocessingml.document
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Updated•16 years ago
|
Reporter | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Reporter | ||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Reporter | ||
Comment 7•16 years ago
|
||
Reporter | ||
Comment 8•16 years ago
|
||
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Comment 12•16 years ago
|
||
Comment 13•16 years ago
|
||
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
Comment 16•16 years ago
|
||
Updated•16 years ago
|
Comment 17•15 years ago
|
||
Comment 18•15 years ago
|
||
Updated•15 years ago
|
Comment 19•15 years ago
|
||
Comment 20•15 years ago
|
||
Updated•15 years ago
|
Comment 23•13 years ago
|
||
Comment 24•13 years ago
|
||
Comment 25•13 years ago
|
||
Comment 26•13 years ago
|
||
Comment 27•13 years ago
|
||
Comment 28•13 years ago
|
||
Updated•13 years ago
|
Updated•13 years ago
|
Comment 29•13 years ago
|
||
Comment 30•13 years ago
|
||
Comment 31•13 years ago
|
||
Comment 32•13 years ago
|
||
Comment 33•12 years ago
|
||
Updated•11 years ago
|
Comment 34•8 years ago
|
||
Comment 35•6 years ago
|
||
aceman, see questions in comment 33
Comment 36•6 years ago
|
||
So funny, application/octet-stream
works in a local mailbox, for sure. But on IMAP, that's a different story and it DOES NOT WORK, see bug 1418444.
Gene, you were experimenting in bug 1418444. Please take a look at the patch here, they look OK to me, we just need to fix the issue from comment #17.
Comment 37•6 years ago
|
||
I have a sample email that has 2 pdfs attached, one with application/octet-stream and the other with application/pdf. Both seem to open OK with no prompt for "which app do you want to open this file with?". Opens right up into a linux pdf app called "okular".
This is with an imap folder with no offline storage (mem cache only) and with and without attachments set inline (not that it would matter with a pdf since it can't be inline AFAIK).
Comment 33 above says the same thing about this bug, i.e., wfm.
Am I missing something when you say "application/octet-stream works in local but not IMAP mailboxes"? What do you mean by "works"?
However, I do still see the problem in bug 1418444 and maybe the attached patch above will fix it. Maybe that's what you are referring to. I will check that now.
Comment 38•6 years ago
|
||
OK, I'm confused then. Bug 1418444 is about saving. Well, let's see whether we can get that fixed.
Comment 39•6 years ago
|
||
I tried the patch for this bug (attachment 371950 [details] [diff] [review]) on the bug 1418444 problems and it didn't help. It also seems like there is an error in the patch in that the check for the string "application/octet-string" uses PL_strcasecmp() and it should use !PL_strcasecmp(). I tried it with "!" and it still didn't make a difference.
I will now check again the fixes I had proposed in Bug 1418444.
Comment 40•6 years ago
|
||
I can confirm that this patch doesn't help for bug 1418444. If ever you want to revive it for other purposes, please note comment #17.
Comment 41•6 years ago
|
||
WFM as per comment #33.
Description
•