summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_script.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2006-08-28 16:57:50 +0000
committerJonathan Kolb <jon@b0g.us>2006-08-28 16:57:50 +0000
commit081a1291e554437fb6147562d8a9b2ed7b4b2d61 (patch)
tree2dc059b1019acda8a7f2f70ee50254f24decd3cc /src/http/ngx_http_script.c
parentbfb99d562d277020b5fb9617c8b67a91c1866354 (diff)
downloadnginx-0.3.tar.gz
Changes with nginx 0.3.61 28 Aug 2006v0.3.61nginx-0.3
*) 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 "?" */