From: Greg Ames Date: Tue, 9 Oct 2001 01:45:20 +0000 (+0000) Subject: allow file extentions specified by AddHandler, AddInputFilter, and X-Git-Tag: 2.0.26~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29c24582cf3bb02d9c7c5276472f8d871fde21e5;p=apache allow file extentions specified by AddHandler, AddInputFilter, and AddOutputFilter to be ignored when matching the URI. Submitted by: Bill Rowe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91376 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/mod_mime.c b/modules/http/mod_mime.c index 9f5fa873be..5a973e1f7a 100644 --- a/modules/http/mod_mime.c +++ b/modules/http/mod_mime.c @@ -780,6 +780,7 @@ static int find_ct(request_rec *r) */ if (exinfo->handler && r->proxyreq == PROXYREQ_NONE) { r->handler = exinfo->handler; + found = 1; } /* XXX Two significant problems; 1, we don't check to see if we are * setting redundant filters. 2, we insert these in the types config @@ -791,6 +792,7 @@ static int find_ct(request_rec *r) && (filter = ap_getword(r->pool, &filters, ';'))) { ap_add_input_filter(filter, NULL, r, r->connection); } + found = 1; } if (exinfo->output_filters && r->proxyreq == PROXYREQ_NONE) { const char *filter, *filters = exinfo->output_filters; @@ -798,6 +800,7 @@ static int find_ct(request_rec *r) && (filter = ap_getword(r->pool, &filters, ';'))) { ap_add_output_filter(filter, NULL, r, r->connection); } + found = 1; } }