From: Igor Sysoev Date: Mon, 1 Sep 2008 14:43:38 +0000 (+0000) Subject: escape a query string characters taken from URI while rewrite X-Git-Tag: release-0.7.14~2 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=4084b12041c8862546daeab9618de9f4d4bbc16f;p=nginx.git escape a query string characters taken from URI while rewrite --- 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); }