summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-23 19:28:29 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-09-23 19:28:29 +0000
commitd0a42bbb58223e164abe75c662bc2ba7f7720334 (patch)
tree5d84fef2d390789ebe2e8e58baf7b52df16844e5 /src
parent72c8eb8baf0e29ce8d3dc809cb760e08d52caf0b (diff)
downloadnginx-d0a42bbb58223e164abe75c662bc2ba7f7720334.tar.gz
nginx-d0a42bbb58223e164abe75c662bc2ba7f7720334.tar.bz2
r1489 merge:
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')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c2
-rw-r--r--src/http/modules/ngx_http_proxy_module.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index ac14d75ce..c63c0f382 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1135,7 +1135,7 @@ ngx_http_fastcgi_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]);
}
}
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]);
}
}