11 years ago User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/ Iceweasel/3.0.1 (Debian-3.0.1-1) Build Identifier: Some mail applications out there (especially web mailers) send PDF attachments with content-type application/octet-stream instead of application/pdf. When you open such a mail, Thunderbird only looks at the MIME header and does not open acroread when it encounters application/octet-stream. These OCTET-STREAM files may be opened by renaming the extension of the attached file to a specific file extension, and then by using an application with support for opening such files. For example, an.octet-stream file may be renamed to a.txt file (if it is indeed a.txt file), and Notepad may then be used to open the file. Binary Octet StreamAs PDF is an often used format and there are somany broken mailers I'd propose to use the attached patch (or any adaption of it) that let Thunderbird check whether the attachment with the type octet-stream has a name that ends with '.pdf' and in that case resets the content-type to application/pdf. Reproducible: Always Steps to Reproduce: 1.Send yourself a mail with PDF attachment and content-type 'application/octet-stream' 2.Open the mail in the viewer window 3.Click on attachment Actual Results: A dialog opens where the found attachment is recognized as 'binary data' and you get asked what to do with it. Expected Results: The attachment should be recognized as PDF (from the file name) and the user be asked whether to open it with acroread (or what ever). 11 years ago @Magnus no, unfortunately it doesn't work. I tried to add code like that at other places as well (mimemsg.cpp or mimemult.cpp) but there seems to be other places where the content-type header is accessed directly via MimeHeaders_get() and the rewrite has no effect. The only way I see is to make the rewrite inside MimeHeaders_get(), however there is no MimeDisplayOptions argument available to query the filename via MimeHeaders_get_name(). Any idea how to fix that? Mime Type Application/octet-stream How To OpenOctet Stream How To OpenWhere is the best place to add such a rewrite check? Anaconda full movie online free. Jai ho means 'Victory'. It can also mean 'Praise' It is indian The Pussycat Dolls Jai ho hope you enjoy. Your browser does not currently recognize any of the video formats available. Click here to visit our frequently. 'Jai Ho' as featured in the movie 'Slumdog Millionaire'. Pussycat Dolls - Jai Ho (You Are My. Jai Ho your my destiny video lyrics. Jai Ho lyrics. Nicola eunice uy. Unsubscribe from nicola. Jai ho lyrics ar. No infringement Intended. -Lyrics- (Jai Ho) (Jai Ho)I got (I got) shivers (shivers), When you touch away, I'll.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |