r1489 merge:

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-23 19:28:29 +00:00
parent 93b7540ff5
commit 8e79f6fbf8
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]);
}
}