]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: h1: Reject empty coding name as last transfer-encoding value
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 9 Jul 2024 06:57:53 +0000 (08:57 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 10 Jul 2024 08:52:20 +0000 (10:52 +0200)
commit428451fe96d9ad9ba8ef0f0669e145a37d97304d
tree543227ce9322e686bc0cf2215bbf847b4369f9ba
parentb8b01027603ae53fdebc7c63c4dacf0908eaef82
BUG/MINOR: h1: Reject empty coding name as last transfer-encoding value

The following Transfer-Encoding header is now rejected with a
400-bad-request:

  Transfer-Encoding: chunked,\r\n

This case was not properly handled and the last empty value was just
ignored.

This patch must be backported as far as 2.6.
src/h1.c