diff options
author | miicha <pfitzner@physik.hu-berlin.de> | 2013-04-30 02:38:05 +0300 |
---|---|---|
committer | miicha <pfitzner@physik.hu-berlin.de> | 2013-04-30 02:38:05 +0300 |
commit | fbf9233648f59b06782330a9fef7aaa9f27480cb (patch) | |
tree | e81769a73846071b6fcad88bca0c0aa8f20803bc /lib | |
parent | a5c72f1ad27dad9b9b81e9819b6e72473a72e80d (diff) | |
download | nextcloud-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.php | 6 |
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', |