From 869735e4b546670c5848c0e94e1cdf8154beefe0 Mon Sep 17 00:00:00 2001 From: ken restivo Date: Tue, 27 Oct 2015 15:35:39 -0700 Subject: Correct mime types via https://wiki.xiph.org/MIME_Types_and_File_Extensions --- include/attach.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/attach.php') diff --git a/include/attach.php b/include/attach.php index f5d2c69b6..a959a5bcb 100644 --- a/include/attach.php +++ b/include/attach.php @@ -64,7 +64,10 @@ function z_mime_content_type($filename) { 'wav' => 'audio/wav', 'qt' => 'video/quicktime', 'mov' => 'video/quicktime', - 'ogg' => 'application/ogg', + 'ogg' => 'audio/ogg', + 'ogv' => 'video/ogg', + 'ogx' => 'application/ogg', + 'flac' => 'audio/flac', 'opus' => 'audio/ogg', 'webm' => 'video/webm', // 'webm' => 'audio/webm', -- cgit v1.2.3