You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/09/29 21:48:56 UTC

DO NOT REPLY [Bug 31472] New: - can't handle quicktime 'moov'

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31472>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31472

can't handle quicktime 'moov' 

           Summary: can't handle quicktime 'moov'
           Product: Apache httpd-2.0
           Version: 2.0.50
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_mime_magic
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jrepenning@collab.net


The magic file provided with mod_mime_magic contains a typo in the line for QuickTime videos of type 
'moov'.  

Discovered in 2.0.50; confirmed by inspection in 2.0.52.

The result is a parse error:

[Wed Sep 29 10:03:57 2004] [error] [client 10.1.6.217] mod_mime_magic: unexpected state 3; could be 
caused by bad data in magic file

... and an Internal Server Error

Of course, this only arises if the file has not already been recognized based on file name, which I 
believe is done by mod_mime.

The typo is a trailing space at the end of the line.


To reproduce:
- get yourself an Apple Quicktime movie of type 'moov' (you can grab
   http://u2.netgate.net/~jack/file_14.mov or .../file_14.dat
- rename it, if necessary, to some unobvious name, if necessary ("file_14.dat" is unobvious enough)
- drop it into your htdocs directrory
- add a link to it in some page 
- make sure mod_mime and mod_mime_magic are enabled 
   (http://httpd.apache.org/docs-2.0/mod/mod_mime_magic.html)  
- hit the link

Expected: it should show the movie
Actual result: it chokes

Fix: remove the trailing space on the line (patch attached momentarily, as if you really needed that); 
restart server

Hit the link again:
Result: see the movie

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org