mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 04:52:25 +00:00
Access: supplemented the obfuscated code with a comment.
This commit is contained in:
parent
5ec277847e
commit
3da53f339d
1 changed files with 5 additions and 1 deletions
|
|
@ -259,7 +259,11 @@ ngx_http_access_unix(ngx_http_request_t *r, ngx_http_access_loc_conf_t *alcf)
|
|||
|
||||
rule_un = alcf->rules_un->elts;
|
||||
for (i = 0; i < alcf->rules_un->nelts; i++) {
|
||||
return ngx_http_access_found(r, rule_un[i].deny);
|
||||
|
||||
/* TODO: check path */
|
||||
if (1) {
|
||||
return ngx_http_access_found(r, rule_un[i].deny);
|
||||
}
|
||||
}
|
||||
|
||||
return NGX_DECLINED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue