]> git.ipfire.org Git - thirdparty/pdns.git/commit
When stumbling upon ill-formed records, return HTTP 422 rather than 500.
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 27 Aug 2025 08:46:24 +0000 (10:46 +0200)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 10 Sep 2025 09:59:06 +0000 (11:59 +0200)
commit74d9fab18752d20ed2f60e8c4966b8c393bf07ed
tree386c1d3853689c7e4dbce238d9543c1a5a111d48
parent29382c4af965a124ff990c95889e004355f6e0c1
When stumbling upon ill-formed records, return HTTP 422 rather than 500.

This allows the user to get a hopefully helpful error message to help
figure out the cause of the problem.

Fixes: #6673
Fixes: #7203
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/ws-auth.cc