You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on development environment, open page eg: http://ci4.local/0 got "Class Home does not exist" and when open at production environment it doesn't has error, but show the Home page, I think it should be 404 instead.
CodeIgniter 4 version
4.0.2
Expected behavior, and steps to reproduce if appropriate
On development and production env, it should be 404 page.
Context
OS: MacOS
Web server Apache
PHP version 7.4
The text was updated successfully, but these errors were encountered:
samsonasik
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Mar 17, 2020
also, I can't register route "/0", I think it related with "empty($path)" check in the URI class which 0 is also an empty. It should be compare to empty string instead.
samsonasik
added a commit
to samsonasik/CodeIgniter4
that referenced
this issue
Mar 17, 2020
When on development environment, open page eg: http://ci4.local/0 got "Class Home does not exist" and when open at production environment it doesn't has error, but show the Home page, I think it should be 404 instead.
CodeIgniter 4 version
4.0.2
Expected behavior, and steps to reproduce if appropriate
On development and production env, it should be 404 page.
Context
The text was updated successfully, but these errors were encountered: