CodeIgniter Forums
Codeigniter Simple Code - Auto Routes - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Codeigniter Simple Code - Auto Routes (/showthread.php?tid=81744)



Codeigniter Simple Code - Auto Routes - Mostafa Khudair - 04-21-2022

One of the best features of CodeIgniter is the simplicity of the code.
Let's talk about `Auto Routes` Its was handled in Router Class, now it's served by Two classes AutoRoutes.php and AutoRoutesImproved.php has its own Interface, why not just add it as a Trait, and keeps framework with a few classes that do its job.


RE: Codeigniter Simple Code - Auto Routes - MGatner - 04-27-2022

The goal is to get back to just one. The current autorouting has a lot of security issues (see our latest hotfix releases) and is being disabled by default. We are leaving it as an option so as not to break current projects, but in the future (version 5) it will be removed and the improved version put in its place.


RE: Codeigniter Simple Code - Auto Routes - Ahmed Haroon - 04-28-2022

(04-27-2022, 09:39 AM)MGatner Wrote: The goal is to get back to just one. The current autorouting has a lot of security issues (see our latest hotfix releases) and is being disabled by default. We are leaving it as an option so as not to break current projects, but in the future (version 5) it will be removed and the improved version put in its place.
very glad to hear that you people are working on next version. appreciating for all CI Team and Best Wishes.