aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorken restivo <ken@restivo.org>2015-10-27 15:35:39 -0700
committerken restivo <ken@restivo.org>2015-10-27 15:35:39 -0700
commit869735e4b546670c5848c0e94e1cdf8154beefe0 (patch)
tree5c5080f9129f3fc22cce37407f97569430088b37
parent605381f83deecc384a0ed7630dd1577e93b2cf8f (diff)
downloadvolse-hubzilla-869735e4b546670c5848c0e94e1cdf8154beefe0.tar.gz
volse-hubzilla-869735e4b546670c5848c0e94e1cdf8154beefe0.tar.bz2
volse-hubzilla-869735e4b546670c5848c0e94e1cdf8154beefe0.zip
Correct mime types via https://wiki.xiph.org/MIME_Types_and_File_Extensions
-rw-r--r--include/attach.php5
1 files changed, 4 insertions, 1 deletions
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',