summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormiicha <pfitzner@physik.hu-berlin.de>2013-04-30 02:38:05 +0300
committermiicha <pfitzner@physik.hu-berlin.de>2013-04-30 02:38:05 +0300
commitfbf9233648f59b06782330a9fef7aaa9f27480cb (patch)
treee81769a73846071b6fcad88bca0c0aa8f20803bc /lib
parenta5c72f1ad27dad9b9b81e9819b6e72473a72e80d (diff)
downloadnextcloud-server-fbf9233648f59b06782330a9fef7aaa9f27480cb.tar.gz
nextcloud-server-fbf9233648f59b06782330a9fef7aaa9f27480cb.zip
fixing mimetype for "new" ms office formats
right mime types for docx, pptx and xlsx with the old mimetype I got a warning message from office everytime I opend such a file (it was downloaded as "filename.docx.doc")
Diffstat (limited to 'lib')
-rw-r--r--lib/mimetypes.list.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mimetypes.list.php b/lib/mimetypes.list.php
index 9135a7e3af2..2aac3bbfd27 100644
--- a/lib/mimetypes.list.php
+++ b/lib/mimetypes.list.php
@@ -86,11 +86,11 @@ return array(
'vcf' => 'text/vcard',
'vcard' => 'text/vcard',
'doc'=>'application/msword',
- 'docx'=>'application/msword',
+ 'docx'=>'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
'xls'=>'application/msexcel',
- 'xlsx'=>'application/msexcel',
+ 'xlsx'=>'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'ppt'=>'application/mspowerpoint',
- 'pptx'=>'application/mspowerpoint',
+ 'pptx'=>'application/vnd.openxmlformats-officedocument.presentationml.presentation',
'sgf' => 'application/sgf',
'cdr' => 'application/coreldraw',
'impress' => 'text/impress',