]> granicus.if.org Git - apache/commitdiff
allow file extentions specified by AddHandler, AddInputFilter, and
authorGreg Ames <gregames@apache.org>
Tue, 9 Oct 2001 01:45:20 +0000 (01:45 +0000)
committerGreg Ames <gregames@apache.org>
Tue, 9 Oct 2001 01:45:20 +0000 (01:45 +0000)
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

modules/http/mod_mime.c

index 9f5fa873be3382bcec778e026d53b102177cd6b1..5a973e1f7a7d08e0811911cc4a6ad39c2b6470b7 100644 (file)
@@ -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;
             }
         }