commit | a994bd0ae2a2b7f268f050c70e281e3081916d22 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Sat Oct 28 13:59:56 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Sat Oct 28 13:59:56 2006 +0000 |
tree | d3a1b24a64b240bffaa529015dfed7d877695084 | |
parent | 0359ba8cc1634a4a29059c42500b61a28d8c5920 [diff] [blame] |
change order
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 0364c78..f20a337 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c
@@ -1184,11 +1184,11 @@ continue; } - if (len > 2 && (ch == '/' + if ((ch == '/' #if (NGX_WIN32) - || ch == '\\' + || ch == '\\' #endif - )) + ) && len > 2) { /* detect "/../" */