www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emil Obermayr <n...@tigress.com>
Subject general/7031: mod
Date Fri, 05 Jan 2001 17:51:44 GMT

>Number:         7031
>Category:       general
>Synopsis:       mod
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Fri Jan 05 10:00:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     nobs@tigress.com
>Release:        1.3.14
>Organization:
apache
>Environment:
gcc --version 
2.95.2
uname -a
SunOS sun352 5.6 Generic_105181-23 sun4u sparc
>Description:
(category is mod_magic, but that is missing in the list)
if a file fails through mod_mime the default mimetype is used; 
if it additionally fails through mod_magic always text/plain is used;
please make mod_magic make use the default mimetype as well
>How-To-Repeat:
use mod_mime w/o mod_magic and directive DefaultType default/unknown ;
with a unknown suffix you will get mimetype default/unknown as expected

then add mod_magic with an unknown suffix and unknown magic bytes and
you will get text/plain 
>Fix:
patch mod_magic to read the directive DefaultType default/unknown
if no magic bytes are recognized
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]
 
 


Mime
View raw message