Currently In-Portal has several problems with new Microsoft Office 2007+ files:

don't display proper icon next to uploaded file;

sends incorrect "Content-type" header (application/zip).

Updating missing icons is pretty easy, but make "Content-Type" header right we need to add custom extension to content type mapping in our mime detection function. The following table documents the HTTP MIME types that are available when working with Office 2007 documents: