httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r327900 - /httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c
Date Mon, 24 Oct 2005 01:14:53 GMT
Author: colm
Date: Sun Oct 23 18:14:49 2005
New Revision: 327900

URL: http://svn.apache.org/viewcvs?rev=327900&view=rev
Log:
Merge r233369 from trunk:

Do not check the value of r->handler.

This allows the use of SetHandler for an entire directory, and since we already check via
the stat structure if this is a directory, there is no reason for this extra check, which
causes a regression since 1.3.

PR: 25435

Submitted by: pquerna
Reviewed by: colm

Modified:
    httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c

Modified: httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c?rev=327900&r1=327899&r2=327900&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c (original)
+++ httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c Sun Oct 23 18:14:49 2005
@@ -151,10 +151,6 @@
         return HTTP_MOVED_PERMANENTLY;
     }
 
-    if (strcmp(r->handler, DIR_MAGIC_TYPE)) {
-        return DECLINED;
-    }
-
     if (d->index_names) {
         names_ptr = (char **)d->index_names->elts;
         num_names = d->index_names->nelts;



Mime
View raw message