aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-04 11:10:52 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-04 11:10:52 +0000
commit42511c05c76b8434aae7a33c26516f7368c3c479 (patch)
treeb09bfa0cd3803e71c3e30dfeaf04fd8908aa5845 /src/http/ngx_http_request.c
parent6a07833d478a9b969dfa8a66041fc8537ee2b8d1 (diff)
downloadnginx-42511c05c76b8434aae7a33c26516f7368c3c479.tar.gz
nginx-42511c05c76b8434aae7a33c26516f7368c3c479.zip
$arg_... variable
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 2a0ed7a44..61a41d4b2 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -647,6 +647,7 @@ ngx_http_process_request_line(ngx_event_t *rev)
r->request_line.len = r->request_end - r->request_start;
r->request_line.data = r->request_start;
+ *r->request_end = '\0';
if (r->args_start) {