From ed07055ace8618b33da2ee234600f7a8964807ab Mon Sep 17 00:00:00 2001 From: NaeiKinDus <7083465+NaeiKinDus@users.noreply.github.com> Date: Wed, 11 Oct 2023 22:36:15 +0200 Subject: fix(minz): fix malformed HTTP header (#5699) --- lib/Minz/FrontController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Minz/FrontController.php') diff --git a/lib/Minz/FrontController.php b/lib/Minz/FrontController.php index 8e3008a7d..e80ed12aa 100644 --- a/lib/Minz/FrontController.php +++ b/lib/Minz/FrontController.php @@ -81,7 +81,7 @@ class Minz_FrontController { * @return never */ public static function killApp(string $txt = '') { - header('HTTP 1.1 500 Internal Server Error', true, 500); + header('HTTP/1.1 500 Internal Server Error', true, 500); if (function_exists('errorMessageInfo')) { //If the application has defined a custom error message function die(errorMessageInfo('Application problem', $txt)); -- cgit v1.2.3