From b109d411d8e88a84a1b2620b42e977c52c7492ff Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 18 Dec 2013 22:39:02 +0100 Subject: [PATCH] Added missing mime types This is mostly to fix acceptance tests that have a .cc file. Also fixed typo in python mime type. --- lib/private/mimetypes.list.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/private/mimetypes.list.php b/lib/private/mimetypes.list.php index 8ab8ac81bd8..3034c2777f7 100644 --- a/lib/private/mimetypes.list.php +++ b/lib/private/mimetypes.list.php @@ -82,7 +82,7 @@ return array( 'mov'=>'video/quicktime', 'webm'=>'video/webm', 'wmv'=>'video/x-ms-asf', - 'py'=>'text/x-script.phyton', + 'py'=>'text/x-script.python', 'vcf' => 'text/vcard', 'vcard' => 'text/vcard', 'doc'=>'application/msword', @@ -103,5 +103,9 @@ return array( 'markdown' => 'text/markdown', 'mdown' => 'text/markdown', 'mdwn' => 'text/markdown', - 'reveal' => 'text/reveal' + 'reveal' => 'text/reveal', + 'c' => 'text/x-c', + 'cc' => 'text/x-c', + 'cpp' => 'text/x-c++src', + 'c++' => 'text/x-c++src', ); -- 2.39.5