diff --git a/netwerk/mime/src/nsMIMEService.cpp b/netwerk/mime/src/nsMIMEService.cpp index 38a849a523b6..eb79e404d130 100644 --- a/netwerk/mime/src/nsMIMEService.cpp +++ b/netwerk/mime/src/nsMIMEService.cpp @@ -105,6 +105,11 @@ nsMIMEService::AddMapping(const char* mimeType, nsresult nsMIMEService::InitFromHack() { nsresult rv; + + rv = AddMapping("application/octet-stream", "exe", "Binary Executable"); + if (NS_FAILED(rv)) return rv; + rv = AddMapping("application/octet-stream", "bin", "Binary Executable"); + if (NS_FAILED(rv)) return rv; rv = AddMapping("text/html", "htm", "Hyper Text Markup Language"); if (NS_FAILED(rv)) return rv; rv = AddMapping("text/html", "html", "Hyper Text Markup Language");