Line
Link Here
|
0 |
-- a/server/request.c |
0 |
++ b/server/request.c |
Lines 465-471
Link Here
|
465 |
} |
465 |
} |
466 |
} |
466 |
} |
467 |
|
467 |
|
468 |
if (apr_stat(&fi, d, lfi->valid & ~(APR_FINFO_NAME), p) != APR_SUCCESS) { |
468 |
if (apr_stat(&fi, d, lfi->valid & ~(APR_FINFO_INODE | APR_FINFO_NAME), p) != APR_SUCCESS) { |
469 |
return HTTP_FORBIDDEN; |
469 |
return HTTP_FORBIDDEN; |
470 |
} |
470 |
} |
471 |
|
471 |
|
472 |
-- a/modules/generators/mod_autoindex.c |
472 |
++ b/modules/generators/mod_autoindex.c |
Lines 2226-2232
Link Here
|
2226 |
apr_cpystrn(fullpath + dirpathlen, dirent.name, |
2226 |
apr_cpystrn(fullpath + dirpathlen, dirent.name, |
2227 |
APR_PATH_MAX - dirpathlen); |
2227 |
APR_PATH_MAX - dirpathlen); |
2228 |
status = apr_stat(&fi, fullpath, |
2228 |
status = apr_stat(&fi, fullpath, |
2229 |
dirent.valid & ~(APR_FINFO_NAME), r->pool); |
2229 |
dirent.valid & ~(APR_FINFO_INODE | APR_FINFO_NAME), |
|
|
2230 |
r->pool); |
2230 |
if (status != APR_SUCCESS) { |
2231 |
if (status != APR_SUCCESS) { |
2231 |
/* Something bad happened, skip this file. */ |
2232 |
/* Something bad happened, skip this file. */ |
2232 |
continue; |
2233 |
continue; |