From 4d99686081fd0c9c1d705a0bc0d1cf7b77d53899 Mon Sep 17 00:00:00 2001 From: Colin Burns Date: Tue, 3 May 2011 22:56:34 -0700 Subject: [PATCH] Editing the /sapphire/email/mime.types file to allow Microsoft Office 2010 file extensions which were not previously in this file. This prevented these files from being sent as attachments on emails. I have added in the basic extensions of .docx, .pptx, .xlsx but also the additional extensions that Office 2010 have from this page - http://office.microsoft.com/en-us/help/introduction-to-new-file-name-extensions-HA010006935.aspx#BM1 I have no idea if the macro enabled file extensions like .xltm or .docm pose a security threat, but thought that if I was adding the basic types in I should add the others as well. I'll let someone else decide this as I have no idea :) --- email/mime.types | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/email/mime.types b/email/mime.types index 4164bba31..c71d20f90 100644 --- a/email/mime.types +++ b/email/mime.types @@ -10,7 +10,7 @@ application/mac-binhex40 hqx application/mac-compactpro cpt application/mathematica nb application/msaccess mdb -application/msword doc dot +application/msword doc dot docx docm dotx dotm application/octet-stream bin application/oda oda application/ogg ogg @@ -29,10 +29,10 @@ application/xhtml+xml xhtml xht application/xml xml xsl application/zip zip application/vnd.mozilla.xul+xml xul -application/vnd.ms-excel xls xlb xlt +application/vnd.ms-excel xls xlb xlt xlsx xlsm xltx xltm xlsb xlam application/vnd.ms-pki.seccat cat application/vnd.ms-pki.stl stl -application/vnd.ms-powerpoint ppt pps +application/vnd.ms-powerpoint ppt pps pptx pptm potx potm ppam ppsx ppsm sldx sldm thmx application/vnd.oasis.opendocument.chart odc application/vnd.oasis.opendocument.database odb application/vnd.oasis.opendocument.formula odf