# HG changeset patch # User Igor Sysoev # Date 1238422547 0 # Node ID 754ab3d3fe186154c3ef536eb1c428beb6f8688c # Parent 418c9f97bd013f51344b0d47d27248640496177b fix r2579 diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c --- 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 * last = p + uri->len; + args->len = 0; + while (p < last) { ch = *p++;