www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bronder <David-Bron...@uiowa.edu>
Subject mod_mime/181: AddHandler (and others?) doesn't match the extension properly
Date Thu, 20 Feb 1997 17:30:01 GMT

	The contract type is `' with a response time of 3 business hours.
	A first analysis should be sent before: Thu Feb 20 13:00:01 PST 1997

>Number:         181
>Category:       mod_mime
>Synopsis:       AddHandler (and others?) doesn't match the extension properly
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 20 09:30:01 1997
>Originator:     David-Bronder@uiowa.edu
>Release:        1.2b6
AIX 4.1.4, C for AIX
The AddHandler directive (and presumably the other related directives) doesn't
properly match the given extension.  It will declare a match if the extension
string appears anywhere in the filename, not just at the end.  For example,
given the directive "AddHandler imap-file map", the filename "main.map" will
match, but so will "campus.map.html".  This can severely limit the available
namespace for files to be served.
http://fire.weeg.uiowa.edu/test/bob-map.html works as expected.
http://fire.weeg.uiowa.edu/test/bob.map.html is processed as an image map
file (the srm.conf file contains the "AddHandler imap-file map" directive).


View raw message