fix: correct HTTP codes for Bad Request

This commit is contained in:
Maël Gangloff
2025-10-07 16:33:27 +02:00
parent ea1df9d97a
commit f2c52eded1
3 changed files with 12 additions and 4 deletions

View File

@@ -38,6 +38,6 @@ api_platform:
ApiPlatform\Validator\Exception\ValidationException: !php/const Symfony\Component\HttpFoundation\Response::HTTP_UNPROCESSABLE_ENTITY
App\Exception\DomainNotFoundException: 404
App\Exception\MalformedDomainException: 403
App\Exception\TldNotSupportedException: 403
App\Exception\UnknownRdapServerException: 403
App\Exception\MalformedDomainException: 400
App\Exception\TldNotSupportedException: 400
App\Exception\UnknownRdapServerException: 400