Welcome! Log In Create A New Profile

Advanced

[nginx] Access: supplemented the obfuscated code with a comment.

Ruslan Ermilov
February 19, 2014 12:48PM
details: http://hg.nginx.org/nginx/rev/06c227e9edd0
branches:
changeset: 5580:06c227e9edd0
user: Ruslan Ermilov <ru@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;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Access: supplemented the obfuscated code with a comment.

Ruslan Ermilov 738 February 19, 2014 12:48PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready