diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-09-15 20:54:58 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-15 20:54:58 +0400 |
commit | 254353e40e73211ebcbbc9db468c2481a2b7101f (patch) | |
tree | d2df28b668f8e6b989036e412b539b2da7ff791f /src/http/modules/ngx_http_proxy_module.c | |
parent | 48714085dde4fe4c5b695dad23295e3f96fe1d2e (diff) |
the "proxy_hide_header" and "fastcgi_hide_header" directives did not
hide response header lines whose name was longer than 32 characters
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r-- | src/http/modules/ngx_http_proxy_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 61b934f32..298d766a3 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -1141,7 +1141,7 @@ ngx_http_proxy_process_header(ngx_http_request_t *r) } 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]); } } |