the "proxy_hide_header" and "fastcgi_hide_header" directives did not

hide response header lines whose name was longer than 32 characters
This commit is contained in:
Igor Sysoev 2007-09-15 16:54:58 +00:00
parent 48714085dd
commit 254353e40e
2 changed files with 2 additions and 2 deletions

View File

@ -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]);
}
}

View File

@ -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]);
}
}