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:
parent
fb598fe906
commit
a1e85aa6b6
2 changed files with 2 additions and 2 deletions
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue