You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/04/11 17:08:22 UTC

DO NOT REPLY [Bug 51050] New: MIME types for m4a & m4v files

https://issues.apache.org/bugzilla/show_bug.cgi?id=51050

           Summary: MIME types for m4a & m4v files
           Product: Tomcat 7
           Version: 7.0.12
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: cedrik.lime@gmail.com


Created an attachment (id=26874)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26874)
Patch for additional common mpeg 4 mime types

Tomcat correctly serves MPEG 4 files with a standardized file extension of
.mp4, as video/mp4.

Common but non-standard mpeg4 files also use of the extensions .m4a and .m4v,
which are unknown to Tomcat and are therefore served without any "Content-Type"
header. This behaviour leads Internet Explorer to display garbage when
following a link to such a file.

This patch adds the correct MIME type for MPEG 4 files with extensions m4a,
m4b, m4r and m4v. (It omits the m4p extension, which is both not widely used,
and of limited interest since the data is encrypted.)

References:
http://tools.ietf.org/html/rfc4337
http://en.wikipedia.org/wiki/MPEG-4_Part_14#.MP4_versus_.M4A_filename_extensions

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51050] MIME types for m4a & m4v files

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51050

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-04-16 18:54:09 EDT ---
Fixed in 7.0.x and will be included in 7.0.13 onwards.

Thanks for the patch.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org