File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
user_guide_src/source/changelogs Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -979,8 +979,7 @@ protected function display404errors(PageNotFoundException $e)
979979 // Display 404 Errors
980980 $ this ->response ->setStatusCode ($ e ->getCode ());
981981
982- echo $ this ->outputBufferingEnd ();
983- flush ();
982+ $ this ->outputBufferingEnd ();
984983
985984 // Throws new PageNotFoundException and remove exception message on production.
986985 throw PageNotFoundException::forPageNotFound (
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ Deprecations
3232Bugs Fixed
3333**********
3434
35+ - **CodeIgniter: ** Fixed a bug that returned "200 OK" response status code when
36+ Page Not Found.
37+
3538See the repo's
3639`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
3740for a complete list of bugs fixed.
You can’t perform that action at this time.
0 commit comments