I found two bugs in URI Routing in version 3.1.1, in version 3.1.0 was no such!
First. If named function same name controller.
Example:
class Bug extends CI_Controller
{
function bug()
{
exit(1);
}
}
Link http://site/bug/bug does not work!
Second. If add to existing function any URI segment in URL without routes.php not shown error 404.
Example:
http://site/bug/bug/dawdad
http://site/bug/bug/3123
http://site/bug/bug/dawdad/3123/dad/3123/...
First. If named function same name controller.
Example:
class Bug extends CI_Controller
{
function bug()
{
exit(1);
}
}
Link http://site/bug/bug does not work!
Second. If add to existing function any URI segment in URL without routes.php not shown error 404.
Example:
http://site/bug/bug/dawdad
http://site/bug/bug/3123
http://site/bug/bug/dawdad/3123/dad/3123/...