handle null json

This commit is contained in:
Dennis Eichhorn 2022-03-22 16:32:18 +01:00
parent cab2628062
commit 97ad384589

View File

@ -134,7 +134,7 @@ final class HttpRequest extends RequestAbstract
// Tested but coverage doesn't show up
$input = \file_get_contents('php://input');
if ($input === false || empty($input)) {
if ($input === false || empty($input) || $input === 'null') {
return;
}