r2372 merge:
skip protected symlinks in autoindex
This commit is contained in:
parent
4a84f30a82
commit
fa0c987a01
1 changed files with 5 additions and 0 deletions
|
@ -299,6 +299,11 @@ ngx_http_autoindex_handler(ngx_http_request_t *r)
|
|||
if (err != NGX_ENOENT) {
|
||||
ngx_log_error(NGX_LOG_CRIT, r->connection->log, err,
|
||||
ngx_de_info_n " \"%s\" failed", filename);
|
||||
|
||||
if (err == NGX_EACCES) {
|
||||
continue;
|
||||
}
|
||||
|
||||
return ngx_http_autoindex_error(r, &dir, &path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue