]> git.kaiwu.me - nginx.git/commitdiff
escape a query string characters taken from URI while rewrite
authorIgor Sysoev <igor@sysoev.ru>
Mon, 1 Sep 2008 14:43:38 +0000 (14:43 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Mon, 1 Sep 2008 14:43:38 +0000 (14:43 +0000)
src/http/ngx_http_script.c

index 95c1cc1051c27249dc9b0a096c0350a83e44e123..55efee7af9d7fc66ff0ab08b3cec26683fd8528c 100644 (file)
@@ -574,6 +574,7 @@ ngx_http_script_start_args_code(ngx_http_script_engine_t *e)
     ngx_log_debug0(NGX_LOG_DEBUG_HTTP, e->request->connection->log, 0,
                    "http script args");
 
+    e->is_args = 1;
     e->args = e->pos;
     e->ip += sizeof(uintptr_t);
 }