mirror of
https://github.com/apache/httpd.git
synced 2025-08-06 11:06:17 +00:00
allow autoindex w/o mod_dir/mod_mime setting the DIR_MAGIC_TYPE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1701436 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -2274,7 +2274,10 @@ static int handle_autoindex(request_rec *r)
|
||||
autoindex_config_rec *d;
|
||||
int allow_opts;
|
||||
|
||||
if(strcmp(r->handler,DIR_MAGIC_TYPE)) {
|
||||
if (strcmp(r->handler,DIR_MAGIC_TYPE) && !AP_IS_DEFAULT_HANDLER_NAME(r->handler)) {
|
||||
return DECLINED;
|
||||
}
|
||||
if (r->finfo.filetype != APR_DIR) {
|
||||
return DECLINED;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user