You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/08/20 20:29:58 UTC

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

Author: pquerna
Date: Sat Aug 20 11:29:56 2005
New Revision: 234105

URL: http://svn.apache.org/viewcvs?rev=234105&view=rev
Log:
Revert r233369 due to veto.

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=234105&r1=234104&r2=234105&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 Sat Aug 20 11:29:56 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;