[nginx] Access: supplemented the obfuscated code with a comment.
Ruslan Ermilov
ru at nginx.com
Wed Feb 19 17:47:06 UTC 2014
details: http://hg.nginx.org/nginx/rev/06c227e9edd0
branches:
changeset: 5580:06c227e9edd0
user: Ruslan Ermilov <ru at nginx.com>
date: Wed Feb 19 21:45:27 2014 +0400
description:
Access: supplemented the obfuscated code with a comment.
diffstat:
src/http/modules/ngx_http_access_module.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 7586e7b2dbe9 -r 06c227e9edd0 src/http/modules/ngx_http_access_module.c
--- a/src/http/modules/ngx_http_access_module.c Tue Feb 18 17:30:40 2014 +0400
+++ b/src/http/modules/ngx_http_access_module.c Wed Feb 19 21:45:27 2014 +0400
@@ -259,7 +259,11 @@ ngx_http_access_unix(ngx_http_request_t
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;
More information about the nginx-devel
mailing list