aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-01 14:43:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-01 14:43:38 +0000
commit4084b12041c8862546daeab9618de9f4d4bbc16f (patch)
tree40f5d291b79c50c978b4ac6a2ee086922a22f86e /src/http/ngx_http_script.c
parentf100c7816dd910907597f716bf561f3361f88e1a (diff)
downloadnginx-4084b12041c8862546daeab9618de9f4d4bbc16f.tar.gz
nginx-4084b12041c8862546daeab9618de9f4d4bbc16f.zip
escape a query string characters taken from URI while rewrite
Diffstat (limited to 'src/http/ngx_http_script.c')
-rw-r--r--src/http/ngx_http_script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index 95c1cc105..55efee7af 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -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);
}