Blame SOURCES/httpd-2.4.17-autoindex-revert.patch

f0c688
diff -Naur httpd-2.4.17/modules/generators/mod_autoindex.c httpd-2.4.17.new/modules/generators/mod_autoindex.c
f0c688
--- httpd-2.4.17/modules/generators/mod_autoindex.c	2015-10-06 14:36:36.000000000 +0200
f0c688
+++ httpd-2.4.17.new/modules/generators/mod_autoindex.c	2015-10-16 13:14:16.043883282 +0200
f0c688
@@ -2274,10 +2274,7 @@
f0c688
     autoindex_config_rec *d;
f0c688
     int allow_opts;
f0c688
 
f0c688
-    if (strcmp(r->handler,DIR_MAGIC_TYPE) && !AP_IS_DEFAULT_HANDLER_NAME(r->handler)) {
f0c688
-        return DECLINED;
f0c688
-    }
f0c688
-    if (r->finfo.filetype != APR_DIR) {
f0c688
+    if(strcmp(r->handler,DIR_MAGIC_TYPE)) {
f0c688
         return DECLINED;
f0c688
     }
f0c688