You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Jerome O'Neil <je...@activeindexing.com> on 2000/03/10 01:00:45 UTC

mod_mime/5850: Magic file has no entry for image/png files

>Number:         5850
>Category:       mod_mime
>Synopsis:       Magic file has no entry for image/png files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Thu Mar 09 16:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     jerome.oneil@activeindexing.com
>Release:        1.3.11
>Organization:
apache
>Environment:
uname -a 
Linux tiger 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 i586 unknown
>Description:
There is no entery in the mime_magic file for portable network graphic (PNG) files.  

If magic is used to detect PNG, it returns a mime type of application/octet-stream.

>How-To-Repeat:
Look at the file?  
>Fix:
Add the following to magic

#------------------------------------------------------------
# PNG
#
1       string  PNG     image/png


Thanks!
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]