You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2019/06/27 09:06:57 UTC
svn commit: r1862200 - /httpd/httpd/trunk/docs/conf/magic
Author: jorton
Date: Thu Jun 27 09:06:56 2019
New Revision: 1862200
URL: http://svn.apache.org/viewvc?rev=1862200&view=rev
Log:
* 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.
Modified:
httpd/httpd/trunk/docs/conf/magic
Modified: httpd/httpd/trunk/docs/conf/magic
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/magic?rev=1862200&r1=1862199&r2=1862200&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/magic (original)
+++ httpd/httpd/trunk/docs/conf/magic Thu Jun 27 09:06:56 2019
@@ -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.