diff --git a/lib/HttpInput.php b/lib/HttpInput.php index 68381d2c..954fb19b 100644 --- a/lib/HttpInput.php +++ b/lib/HttpInput.php @@ -30,6 +30,7 @@ class HttpInput{ && preg_match('/^application\/x-www-form-urlencoded(;|$)/', $contentType) ){ + // TODO: On PHP >= 8.4, use the new `request_parse_body()` function instead. parse_str(file_get_contents('php://input'), $_POST); } }