comparison src/http/ngx_http_script.c @ 222:dd6c66b5b0e2 NGINX_0_3_58

nginx 0.3.58 *) Feature: the "error_page" directive supports the variables. *) Change: now the procfs interface instead of sysctl is used on Linux. *) Change: now the "Content-Type" header line is inherited from first response when the "X-Accel-Redirect" was used. *) Bugfix: the "error_page" directive did not redirect the 413 error. *) Bugfix: the trailing "?" did not remove old arguments if no new arguments were added to a rewritten URI. *) Bugfix: nginx could not run on 64-bit FreeBSD 7.0-CURRENT.
author Igor Sysoev <http://sysoev.ru>
date Mon, 14 Aug 2006 00:00:00 +0400
parents 559bc7ec214e
children 9eebc1b2cdbb
comparison
equal deleted inserted replaced
221:52ac9a089ea5 222:dd6c66b5b0e2
790 790
791 e->args = NULL; 791 e->args = NULL;
792 792
793 } else { 793 } else {
794 e->buf.len = e->pos - e->buf.data; 794 e->buf.len = e->pos - e->buf.data;
795
796 if (!code->add_args) {
797 r->args.len = 0;
798 }
795 } 799 }
796 800
797 if (e->log) { 801 if (e->log) {
798 ngx_log_error(NGX_LOG_NOTICE, r->connection->log, 0, 802 ngx_log_error(NGX_LOG_NOTICE, r->connection->log, 0,
799 "rewritten data: \"%V\", args: \"%V\"", 803 "rewritten data: \"%V\", args: \"%V\"",