Mercurial > hg > nginx
comparison src/http/ngx_http_parse.c @ 471:31ee1b50354f release-0.1.10
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 26 Nov 2004 09:33:59 +0000 |
parents | 2ff194b74f1e |
children | 8e8f3af115b5 |
comparison
equal
deleted
inserted
replaced
470:45b86532d9c8 | 471:31ee1b50354f |
---|---|
684 r->uri_ext = NULL; | 684 r->uri_ext = NULL; |
685 r->args_start = NULL; | 685 r->args_start = NULL; |
686 | 686 |
687 ch = *p++; | 687 ch = *p++; |
688 | 688 |
689 while (p < r->uri_end && r->args_start == NULL) { | 689 while (p <= r->uri_end && r->args_start == NULL) { |
690 | 690 |
691 /* | 691 /* |
692 * we use "ch = *p++" inside the cycle but this operation is safe | 692 * we use "ch = *p++" inside the cycle but this operation is safe |
693 * because after the URI there is always at least one charcter: | 693 * because after the URI there is always at least one charcter: |
694 * the line feed | 694 * the line feed |