summaryrefslogtreecommitdiff
path: root/docs/conf
diff options
context:
space:
mode:
authorJoe Orton <jorton@apache.org>2019-06-27 09:06:56 +0000
committerJoe Orton <jorton@apache.org>2019-06-27 09:06:56 +0000
commitc5e3ad4a7adf0594c61467e1dcf76f8a5291b015 (patch)
tree93c7eb369f9d053b23352c6a9ab37feca8c595bc /docs/conf
parented4d430d617166cebe2b13ae0d96aa9a4848e17c (diff)
downloadhttpd-c5e3ad4a7adf0594c61467e1dcf76f8a5291b015.tar.gz
* docs/conf/magic: Allow mod_mime_magic to return "audio/x-wav" for
WAV files, and omit returning "audio/unknown" for other RIFF format files. Having a MIME type defined on a continuation line *and* the preceding top-level match breaks mod_mime_magic, which treats the second result "printed" as the MIME encoding. Neither audio/x-wav nor audio/unknown are IANA registered, though Firefox and Chrome both appear to recognize the former. Since the RIFF format can contain non-audio media, returning audio/unknown as a fallback for all RIFF files appears to be bogus anyway. Submitted by: Àngel Ollé Blázquez <aollebla redhat.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1862200 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/conf')
-rw-r--r--docs/conf/magic2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/conf/magic b/docs/conf/magic
index 7c56119e9a..bc891d93e6 100644
--- a/docs/conf/magic
+++ b/docs/conf/magic
@@ -87,7 +87,7 @@
# Microsoft WAVE format (*.wav)
# [GRR 950115: probably all of the shorts and longs should be leshort/lelong]
# Microsoft RIFF
-0 string RIFF audio/unknown
+0 string RIFF
# - WAVE format
>8 string WAVE audio/x-wav
# MPEG audio.