From 081a1291e554437fb6147562d8a9b2ed7b4b2d61 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 28 Aug 2006 16:57:50 +0000 Subject: Changes with nginx 0.3.61 28 Aug 2006 *) 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. --- src/http/ngx_http_script.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/http/ngx_http_script.c') 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 "?" */ -- cgit v1.2.1