diff options
| author | 2023-10-11 22:36:15 +0200 | |
|---|---|---|
| committer | 2023-10-11 22:36:15 +0200 | |
| commit | ed07055ace8618b33da2ee234600f7a8964807ab (patch) | |
| tree | c387cce7f7db8738d9819b39a5e02726175d70db | |
| parent | 6f228453e4e74e142410edf2ce03ba201ec31c51 (diff) | |
fix(minz): fix malformed HTTP header (#5699)
| -rw-r--r-- | CREDITS.md | 1 | ||||
| -rw-r--r-- | lib/Minz/FrontController.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CREDITS.md b/CREDITS.md index 81c39003c..867dc346b 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -136,6 +136,7 @@ People are sorted by name so please keep this order. * [mincerafter42](https://github.com/mincerafter42): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:mincerafter42), [Web](https://mincerafter42.github.io) * [MSZ](https://github.com/mszkb): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:mszkb) * [Myuki](https://github.com/Myuki): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Myuki) +* [NaeiKinDus](https://github.com/NaeiKinDus): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:NaeiKinDus) * [Nainor](https://github.com/Nainor): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:Nainor) * [nanhualyq](https://github.com/nanhualyq): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:nanhualyq) * [Natalie Stroud](https://github.com/natastro): [contributions](https://github.com/FreshRSS/FreshRSS/pulls?q=is:pr+author:natastro) 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)); |
