Bug 622528 - Open RTF document in Thunderbird with OpenOffice is not correct Ascii mode; r=bzbarsky a=bsmedberg
authorMatthias Versen <matti@mversen.de>
Fri, 21 Jan 2011 15:15:12 -0500
changeset 61110 7699976cd9defa01295252999f9af0a96ea75cca
parent 61109 c3917d4b7a65475f5fb34ec7f80244d37b2aed59
child 61111 8f8108abcff2be98d287d9b934d33cff428bbba3
push idunknown
push userunknown
push dateunknown
reviewersbzbarsky, bsmedberg
bugs622528
milestone2.0b10pre
Bug 622528 - Open RTF document in Thunderbird with OpenOffice is not correct Ascii mode; r=bzbarsky a=bsmedberg
uriloader/exthandler/nsExternalHelperAppService.cpp
--- a/uriloader/exthandler/nsExternalHelperAppService.cpp
+++ b/uriloader/exthandler/nsExternalHelperAppService.cpp
@@ -557,16 +557,17 @@ static nsExtraMimeTypeEntry extraMimeEnt
   { APPLICATION_OCTET_STREAM, "exe,com,bin,sav,bck,pcsi,dcx_axpexe,dcx_vaxexe,sfx_axpexe,sfx_vaxexe", "Binary File" },
 #elif defined(XP_MACOSX) // don't define .bin on the mac...use internet config to look that up...
   { APPLICATION_OCTET_STREAM, "exe,com", "Binary File" },
 #else
   { APPLICATION_OCTET_STREAM, "exe,com,bin", "Binary File" },
 #endif
   { APPLICATION_GZIP2, "gz", "gzip" },
   { "application/x-arj", "arj", "ARJ file" },
+  { "application/rtf", "rtf", "Rich Text Format File" },
   { APPLICATION_XPINSTALL, "xpi", "XPInstall Install" },
   { APPLICATION_POSTSCRIPT, "ps,eps,ai", "Postscript File" },
   { APPLICATION_XJAVASCRIPT, "js", "Javascript Source File" },
 #ifdef ANDROID
   { "application/vnd.android.package-archive", "apk", "Android Package" },
 #endif
   { IMAGE_ART, "art", "ART Image" },
   { IMAGE_BMP, "bmp", "BMP Image" },