Throw `UserInputException` insteadof `InvalidArgumentException` for invalid captchas
authorjoshuaruesweg <ruesweg@woltlab.com>
Sat, 20 Mar 2021 15:38:02 +0000 (16:38 +0100)
committerjoshuaruesweg <ruesweg@woltlab.com>
Sat, 20 Mar 2021 15:38:02 +0000 (16:38 +0100)
commit80d79b25e7c027b48487bc822faf4256534f22e2
treef445b6bd4a24ddb894bde0a8148c66046c2d31bf
parent2d51d5186fc5331bf4a827b289ef669393bf6572
Throw `UserInputException` insteadof `InvalidArgumentException` for invalid captchas

Currently, bots are deliberately manipulating the field to provoke an exception. This is prevented with this fix.
wcfsetup/install/files/lib/system/recaptcha/RecaptchaHandlerV2.class.php