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)
979
979
// Display 404 Errors
980
980
$ this ->response ->setStatusCode ($ e ->getCode ());
981
981
982
- echo $ this ->outputBufferingEnd ();
983
- flush ();
982
+ $ this ->outputBufferingEnd ();
984
983
985
984
// Throws new PageNotFoundException and remove exception message on production.
986
985
throw PageNotFoundException::forPageNotFound (
Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ Deprecations
32
32
Bugs Fixed
33
33
**********
34
34
35
+ - **CodeIgniter: ** Fixed a bug that returned "200 OK" response status code when
36
+ Page Not Found.
37
+
35
38
See the repo's
36
39
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md >`_
37
40
for a complete list of bugs fixed.
You can’t perform that action at this time.
0 commit comments