]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sample: request an extra output byte for the url_dec converter
authorWilly Tarreau <w@1wt.eu>
Tue, 26 May 2026 06:24:04 +0000 (08:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 May 2026 11:13:24 +0000 (13:13 +0200)
commitffdc91c4a19a589f23eabb6df0ad6075802949fb
tree9ac22f609284f50624cb531c8b8f1db5f4337203
parent4f58fef3d4cbe31db92ff500e2c186c745ea0ee4
BUG/MINOR: sample: request an extra output byte for the url_dec converter

A dynamic chunk size is now being allocated for output since commit
dfc4085413 ("MEDIUM: sample: Get chunks with a size dependent on input
data when necessary"). However this one missed the need for the trailing
zero when specifying the size, let's add it.

No backport is needed, this is only in 3.4.
src/http_conv.c