You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2005/10/24 03:22:34 UTC

svn commit: r327903 - /httpd/httpd/branches/2.2.x/modules/mappers/mod_dir.c

Author: colm
Date: Sun Oct 23 18:22:31 2005
New Revision: 327903

URL: http://svn.apache.org/viewcvs?rev=327903&view=rev
Log:
Revert a backport from trunk, as it actually has a veto outstanding.

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=327903&r1=327902&r2=327903&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:22:31 2005
@@ -151,6 +151,10 @@
         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;