aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-03-30 14:15:47 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-03-30 14:15:47 +0000
commitf072a02ec51385d97cc5033dc9e26e5daa64837d (patch)
tree5b71077a018566952028d0978328fb59f4103d5a
parent723f71ddfe00d40b42b5582a55406e474401d3fd (diff)
downloadnginx-f072a02ec51385d97cc5033dc9e26e5daa64837d.tar.gz
nginx-f072a02ec51385d97cc5033dc9e26e5daa64837d.zip
fix r2579
-rw-r--r--src/http/ngx_http_parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index 87b65395b..49f536a85 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -1534,6 +1534,8 @@ ngx_http_split_args(ngx_http_request_t *r, ngx_str_t *uri, ngx_str_t *args)
last = p + uri->len;
+ args->len = 0;
+
while (p < last) {
ch = *p++;