Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_fastcgi_handler.c @ 48:6cfc63e68377 NGINX_0_1_24
nginx 0.1.24
*) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING
and DOCUMENT_URI variables.
*) Bugfix: the ngx_http_autoindex_module may some times return the 404
response for existent directory, if this directory was used in
"alias" directive.
*) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large
responses.
*) Bugfix: the lack of the "Referer" header line was always accounted
as valid referrer.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Fri, 04 Mar 2005 00:00:00 +0300 |
parents | bc4fc02c96a3 |
children |
comparison
equal
deleted
inserted
replaced
47:4ae32548452c | 48:6cfc63e68377 |
---|---|
597 var = cmcf->variables.elts; | 597 var = cmcf->variables.elts; |
598 vindex = flcf->vars->elts; | 598 vindex = flcf->vars->elts; |
599 | 599 |
600 for (i = 0; i < flcf->vars->nelts; i++) { | 600 for (i = 0; i < flcf->vars->nelts; i++) { |
601 | 601 |
602 if (!(value = ngx_http_get_variable(r, vindex[i]))) { | 602 if (!(value = ngx_http_get_indexed_variable(r, vindex[i]))) { |
603 continue; | 603 continue; |
604 } | 604 } |
605 | 605 |
606 if (value->text.len) { | 606 if (value->text.len) { |
607 len += 1 + 1 + var[vindex[i]].name.len + value->text.len; | 607 len += 1 + 1 + var[vindex[i]].name.len + value->text.len; |
996 | 996 |
997 | 997 |
998 if (flcf->vars) { | 998 if (flcf->vars) { |
999 for (i = 0; i < flcf->vars->nelts; i++) { | 999 for (i = 0; i < flcf->vars->nelts; i++) { |
1000 | 1000 |
1001 if (!(value = ngx_http_get_variable(r, vindex[i]))) { | 1001 if (!(value = ngx_http_get_indexed_variable(r, vindex[i]))) { |
1002 continue; | 1002 continue; |
1003 } | 1003 } |
1004 | 1004 |
1005 if (value->text.len == 0) { | 1005 if (value->text.len == 0) { |
1006 continue; | 1006 continue; |