From 069899bfb5f62503122a57aeb5dc8ed492f14485 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 26 Nov 2004 09:33:59 +0000 Subject: nginx-0.1.10-RELEASE import *) Bugfix: if the request without arguments contains "//", "/./", "/../" or "%XX" then the lost character in the request line was lost; the bug had appeared in 0.1.9. *) Bugfix: the fix in 0.1.9 for the files bigger than 2G on Linux did not work. --- src/http/ngx_http_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index a4e7d8045..96ed49c74 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -686,7 +686,7 @@ ngx_int_t ngx_http_parse_complex_uri(ngx_http_request_t *r) ch = *p++; - while (p < r->uri_end && r->args_start == NULL) { + while (p <= r->uri_end && r->args_start == NULL) { /* * we use "ch = *p++" inside the cycle but this operation is safe -- cgit