]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5449: Ignore SP and HTAB chars after chunk-size (#1914)
authoruhliarik <luhliari@redhat.com>
Fri, 11 Oct 2024 03:31:19 +0000 (03:31 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sat, 12 Oct 2024 17:51:36 +0000 (17:51 +0000)
commit2abc8be795338cc389fb2fa68b119c44c675b107
treec08da2f11983998f3843602f9600a56e138c880a
parent07f1e91235e634fdc390d00ac38e6a6063cd5803
Bug 5449: Ignore SP and HTAB chars after chunk-size (#1914)

Prior to 2023 commit 951013d0, Squid accepted Transfer-Encoding chunks
with chunk-size followed by spaces or tabs (before CRLF). This HTTP
syntax violation was allowed to address Bug 4492 (fixed in 2017 commit
26f0a359). This change restores that fix functionality. FWIW, our
research shows that nginx and httpd also accept similar input.
src/http/one/Parser.cc
src/http/one/Parser.h
src/http/one/TeChunkedParser.cc