mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
Merge cc536f9ca9
into ecb809305e
This commit is contained in:
commit
e9e146e46b
@ -2049,7 +2049,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
|
||||
|
||||
u->headers_in.status_n = status;
|
||||
|
||||
if (status_line->len > 3) {
|
||||
if (status_line->len > 3 && status_line->data[3] == ' ') {
|
||||
u->headers_in.status_line = *status_line;
|
||||
}
|
||||
|
||||
|
@ -1154,7 +1154,7 @@ ngx_http_scgi_process_header(ngx_http_request_t *r)
|
||||
|
||||
u->headers_in.status_n = status;
|
||||
|
||||
if (status_line->len > 3) {
|
||||
if (status_line->len > 3 && status_line->data[3] == ' ') {
|
||||
u->headers_in.status_line = *status_line;
|
||||
}
|
||||
|
||||
|
@ -1391,7 +1391,7 @@ ngx_http_uwsgi_process_header(ngx_http_request_t *r)
|
||||
|
||||
u->headers_in.status_n = status;
|
||||
|
||||
if (status_line->len > 3) {
|
||||
if (status_line->len > 3 && status_line->data[3] == ' ') {
|
||||
u->headers_in.status_line = *status_line;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user