summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_parse.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-26 09:35:08 +0000
committerJonathan Kolb <jon@b0g.us>2004-11-26 09:35:08 +0000
commiteba6694024d8cc8af64f8eab1b0cda90a7492468 (patch)
treeeddb2f7de0adb20e797f78aadbbaf3f5f8be917d /src/http/ngx_http_parse.c
parenta9c1bbe8dc08d8ee76959d8c80adcfda8adeab26 (diff)
downloadnginx-eba6694024d8cc8af64f8eab1b0cda90a7492468.tar.gz
Changes with nginx 0.1.10 26 Nov 2004v0.1.10
*) Bugfix: if the request without arguments contains "//", "/./", "/../" or "%XX" then the lost character in the request line was lost; bug appeared in 0.1.9. *) Bugfix: the fix in 0.1.9 for the files bigger than 2G on Linux did not work.
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r--src/http/ngx_http_parse.c2
1 files changed, 1 insertions, 1 deletions
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