aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
authorNaeiKinDus <7083465+NaeiKinDus@users.noreply.github.com>2023-10-11 22:36:15 +0200
committerGitHub <noreply@github.com>2023-10-11 22:36:15 +0200
commited07055ace8618b33da2ee234600f7a8964807ab (patch)
treec387cce7f7db8738d9819b39a5e02726175d70db /lib
parent6f228453e4e74e142410edf2ce03ba201ec31c51 (diff)
downloadfreshrss-ed07055ace8618b33da2ee234600f7a8964807ab.tar.gz
freshrss-ed07055ace8618b33da2ee234600f7a8964807ab.zip
fix(minz): fix malformed HTTP header (#5699)
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/FrontController.php2
1 files changed, 1 insertions, 1 deletions
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));