Mercurial > hg > nginx-vendor-0-7
diff src/http/ngx_http_script.c @ 228:9eebc1b2cdbb NGINX_0_3_61
nginx 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.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 28 Aug 2006 00:00:00 +0400 |
parents | dd6c66b5b0e2 |
children | a528ae0fe909 |
line wrap: on
line diff
--- 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_htt 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 "?" */