# HG changeset patch # User Igor Sysoev # Date 1220280218 0 # Node ID 207827f7bf71da9888a4eac6b7947614d4fb5320 # Parent 109849282793fed1916965ff709dba02fd81eed8 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 --- 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 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); }