]> git.kaiwu.me - nginx.git/commitdiff
fix r2579
authorIgor Sysoev <igor@sysoev.ru>
Mon, 30 Mar 2009 14:15:47 +0000 (14:15 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 30 Mar 2009 14:15:47 +0000 (14:15 +0000)
src/http/ngx_http_parse.c

index 87b65395b52933219a9d87573333fb30a7d7fe8f..49f536a857d999c71b1640744f44904cb8da47b1 100644 (file)
@@ -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++;