aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-08-28 16:57:48 +0000
committerIgor Sysoev <igor@sysoev.ru>2006-08-28 16:57:48 +0000
commit3f8dc595000ba4afb60c0fd8c389d7cc8400a148 (patch)
treea381a75e795986523e65084ee9af1c41ef90a2c8 /src/http/ngx_http_script.c
parentc583e6309f192afce5ffadfd2734d626a3bca323 (diff)
downloadnginx-release-0.3.61.tar.gz
nginx-release-0.3.61.zip
nginx-0.3.61-RELEASE importrelease-0.3.61
*) Change: now the "tcp_nodelay" directive is turned on by default. *) Feature: the "msie_refresh" directive. *) Feature: the "recursive_error_pages" directive. *) Bugfix: the "rewrite" directive returned incorrect redirect, if the redirect had the captured escaped symbols from original URI.
Diffstat (limited to 'src/http/ngx_http_script.c')
-rw-r--r--src/http/ngx_http_script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_script.c b/src/http/ngx_http_script.c
index 2169c87ed..3a9e2a85b 100644
--- a/src/http/ngx_http_script.c
+++ b/src/http/ngx_http_script.c
@@ -687,9 +687,11 @@ ngx_http_script_regex_start_code(ngx_http_script_engine_t *e)
ngx_memzero(&le, sizeof(ngx_http_script_engine_t));
le.ip = code->lengths->elts;
+ le.line = e->line;
le.request = r;
le.captures = e->captures;
le.ncaptures = e->ncaptures;
+ le.quote = code->redirect;
len = 1; /* reserve 1 byte for possible "?" */