]> granicus.if.org Git - apache/commitdiff
* docs/conf/magic: Allow mod_mime_magic to return "audio/x-wav" for
authorJoe Orton <jorton@apache.org>
Thu, 27 Jun 2019 09:06:56 +0000 (09:06 +0000)
committerJoe Orton <jorton@apache.org>
Thu, 27 Jun 2019 09:06:56 +0000 (09:06 +0000)
  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

docs/conf/magic

index 7c56119e9a59290f97eee23bbf483ee8a348639e..bc891d93e667cbcc79381c1d85ee06305d7e4505 100644 (file)
@@ -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.