Mercurial > hg > nginx
changeset 1532:44bd4db45b30 stable-0.5
r1489 merge:
the "proxy_hide_header" and "fastcgi_hide_header" directives did not
hide response header lines whose name was longer than 32 characters
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 23 Sep 2007 19:28:29 +0000 |
parents | 8b04c0e37099 |
children | 9b10ba85b249 |
files | src/http/modules/ngx_http_fastcgi_module.c src/http/modules/ngx_http_proxy_module.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Sun Sep 23 19:26:53 2007 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Sun Sep 23 19:28:29 2007 +0000 @@ -1135,7 +1135,7 @@ } else { for (i = 0; i < h->key.len; i++) { - h->lowcase_key[i] = ngx_tolower(h->lowcase_key[i]); + h->lowcase_key[i] = ngx_tolower(h->key.data[i]); } }
--- a/src/http/modules/ngx_http_proxy_module.c Sun Sep 23 19:26:53 2007 +0000 +++ b/src/http/modules/ngx_http_proxy_module.c Sun Sep 23 19:28:29 2007 +0000 @@ -1141,7 +1141,7 @@ } else { for (i = 0; i < h->key.len; i++) { - h->lowcase_key[i] = ngx_tolower(h->lowcase_key[i]); + h->lowcase_key[i] = ngx_tolower(h->key.data[i]); } }