]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
* 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)
commitc5e3ad4a7adf0594c61467e1dcf76f8a5291b015
tree93c7eb369f9d053b23352c6a9ab37feca8c595bc
parented4d430d617166cebe2b13ae0d96aa9a4848e17c
* 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
docs/conf/magic