]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: proxy: Rename accept-invalid-http-* options
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 12 Sep 2024 07:33:32 +0000 (09:33 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 16 Sep 2024 20:55:25 +0000 (22:55 +0200)
commit4de663269367f689cb1607d621d77db2d88d95f0
treec73db2734777964132380beeebe6adf29e3a90bb
parent0f4fad5291027a7dfc8109fbbe2acd0bac8affd0
MINOR: proxy: Rename accept-invalid-http-* options

With these options, it is possible to accept some invalid messages that may
considered as unsafe and may result as vulnerabilities. The naming is not
explicit enough on this point. These option must really be considered as
dangerous and only used as a temporary workaround. Unfortunately, when used,
it is probably because there are some legacy and unsupported applications in
place. Nevermind. The documentation warns about the use of these
options. Now the name of the options itself is a warning.

So now, "accept-invalid-http-request" and "accept-invalid-http-response"
options are deprecated and replaced by
"accept-unsafe-violations-in-http-request" and
"accept-unsafe-violations-in-http-response" options.
doc/configuration.txt
doc/management.txt
reg-tests/http-rules/normalize_uri.vtc
src/cfgparse-listen.c
src/h1.c
src/h1_htx.c
src/h2.c
src/h3.c
src/proxy.c