Mercurial > hg > nginx-vendor-1-0
comparison 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 |
comparison
equal
deleted
inserted
replaced
227:f554f17a0fb7 | 228:9eebc1b2cdbb |
---|---|
685 | 685 |
686 } else { | 686 } else { |
687 ngx_memzero(&le, sizeof(ngx_http_script_engine_t)); | 687 ngx_memzero(&le, sizeof(ngx_http_script_engine_t)); |
688 | 688 |
689 le.ip = code->lengths->elts; | 689 le.ip = code->lengths->elts; |
690 le.line = e->line; | |
690 le.request = r; | 691 le.request = r; |
691 le.captures = e->captures; | 692 le.captures = e->captures; |
692 le.ncaptures = e->ncaptures; | 693 le.ncaptures = e->ncaptures; |
694 le.quote = code->redirect; | |
693 | 695 |
694 len = 1; /* reserve 1 byte for possible "?" */ | 696 len = 1; /* reserve 1 byte for possible "?" */ |
695 | 697 |
696 while (*(uintptr_t *) le.ip) { | 698 while (*(uintptr_t *) le.ip) { |
697 lcode = *(ngx_http_script_len_code_pt *) le.ip; | 699 lcode = *(ngx_http_script_len_code_pt *) le.ip; |