From 563e940d2c212e5da20633967544453d28fbda0c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 1 Apr 2008 07:39:57 +0000 Subject: [PATCH] Fixes #937, MIME type not set correctly for Word/OOo document attachments on import --- chrome/content/zotero/xpcom/mime.js | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/mime.js b/chrome/content/zotero/xpcom/mime.js index 609eb70b3..5cc29cd1a 100644 --- a/chrome/content/zotero/xpcom/mime.js +++ b/chrome/content/zotero/xpcom/mime.js @@ -37,16 +37,18 @@ Zotero.MIME = new function(){ ["%PDF-", "application/pdf", 0], ["%!PS-Adobe-", 'application/postscript', 0], ["%! PS-Adobe-", 'application/postscript', 0], + ["\uFFFD\uFFFD\x11\u0871\x1A\uFFFD\x00\x00", "application/msword", 0], ["From", 'text/plain', 0], [">From", 'text/plain', 0], ["#!", 'text/plain', 0], ["