mirror of
https://github.com/nginx/nginx.git
synced 2024-12-19 05:33:52 -06:00
Proxy: whitespaces after chunk size allowed.
Whitespaces after chunk size seems to be be allowed by the "implied *LWS" rule and emitted by some servers.
This commit is contained in:
parent
28b001f897
commit
aa12f3c7f3
@ -1647,6 +1647,8 @@ ngx_http_proxy_parse_chunked(ngx_http_request_t *r, ngx_buf_t *buf)
|
||||
state = sw_trailer;
|
||||
break;
|
||||
case ';':
|
||||
case ' ':
|
||||
case '\t':
|
||||
state = sw_last_chunk_extension;
|
||||
break;
|
||||
default:
|
||||
@ -1664,6 +1666,8 @@ ngx_http_proxy_parse_chunked(ngx_http_request_t *r, ngx_buf_t *buf)
|
||||
state = sw_chunk_data;
|
||||
break;
|
||||
case ';':
|
||||
case ' ':
|
||||
case '\t':
|
||||
state = sw_chunk_extension;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user