DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24509>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24509 mod_mime_magic fails to identify PNG images Summary: mod_mime_magic fails to identify PNG images Product: Apache httpd-2.0 Version: 2.0.48 Platform: All OS/Version: All Status: NEW Severity: Minor Priority: Other Component: mod_mime_magic AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] mod_mime_magic fails to identify PNG (Portable Network Graphics) images because the stock magic file contains no description of the PNG format. How to reproduce: 1. Build Apache with --enable-mime-magic. 2. Make sure MIMEMagicFile is set correctly in httpd.conf (it should be correct in a default installation). 3. Put a PNG file somewhere in the document tree and give it a name without a .png suffix. 4. Request the PNG file using a tool that allows you to view the HTTP response headers, such as "wget -S". 5. Examine the Content-Type header. Using the stock magic file, the type should match the server's DefaultType setting (text/plain unless changed). How to fix: Add a description of the PNG format to the magic file. This appears to work: 0 string \x89PNG >4 belong 0x0d0a1a0a image/png The PNG specification can be found at http://www.w3.org/TR/PNG Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
