mirror of https://github.com/FreshRSS/FreshRSS.git
fix(minz): fix malformed HTTP header (#5699)
This commit is contained in:
parent
6f228453e4
commit
ed07055ace
|
@ -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)
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue