Mercurial > hg > nginx-quic
diff src/http/ngx_http_script.c @ 679:df95dcff753a release-0.3.61
nginx-0.3.61-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Mon, 28 Aug 2006 16:57:48 +0000 |
parents | b80f94fa2197 |
children | 1be87cdd010f |
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 "?" */