aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_access_module.c
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2014-02-19 21:45:27 +0400
committerRuslan Ermilov <ru@nginx.com>2014-02-19 21:45:27 +0400
commit3da53f339d37f03aaf5c60119898b235ee466a48 (patch)
tree3026a95d1655f1c914967ceee4372851861f5117 /src/http/modules/ngx_http_access_module.c
parent5ec277847e8ff5a0990c03b93794d2e5d581f8e3 (diff)
downloadnginx-3da53f339d37f03aaf5c60119898b235ee466a48.tar.gz
nginx-3da53f339d37f03aaf5c60119898b235ee466a48.zip
Access: supplemented the obfuscated code with a comment.
Diffstat (limited to 'src/http/modules/ngx_http_access_module.c')
-rw-r--r--src/http/modules/ngx_http_access_module.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_access_module.c b/src/http/modules/ngx_http_access_module.c
index fcee40ca0..c553e4610 100644
--- a/src/http/modules/ngx_http_access_module.c
+++ b/src/http/modules/ngx_http_access_module.c
@@ -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;