diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-28 13:59:56 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-28 13:59:56 +0000 |
commit | a994bd0ae2a2b7f268f050c70e281e3081916d22 (patch) | |
tree | d3a1b24a64b240bffaa529015dfed7d877695084 /src | |
parent | 0359ba8cc1634a4a29059c42500b61a28d8c5920 (diff) | |
download | nginx-a994bd0ae2a2b7f268f050c70e281e3081916d22.tar.gz nginx-a994bd0ae2a2b7f268f050c70e281e3081916d22.zip |
change order
Diffstat (limited to 'src')
-rw-r--r-- | src/http/ngx_http_parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 0364c7846..f20a337da 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -1184,11 +1184,11 @@ ngx_http_parse_unsafe_uri(ngx_http_request_t *r, ngx_str_t *uri, continue; } - if (len > 2 && (ch == '/' + if ((ch == '/' #if (NGX_WIN32) - || ch == '\\' + || ch == '\\' #endif - )) + ) && len > 2) { /* detect "/../" */ |