Welcome Guest, Not a member yet? Register   Sign In
Option to disable httpVerb in auto route improved
#1
Lightbulb 

I would like a setting to disable the httpVerb in front of a function/method with autoRouteImproved.
I would like to use autoRouteImproved, but when migrating from CodeIgniter 4.1 and lower I would need to change every method in a project.
That would be a big hassle, a option to disable this would be nice.
Reply
#2

You request non sense. The httpVerb prefix is the key of the security enhancement in Auto Routing Improved.
If we add the option, Auto Routing Improved would be dangerous as Auto Routing Legacy.

I recommend you use Auto Routing Legacy. Then you don't need to change method names.
https://codeigniter4.github.io/CodeIgnit...ing-legacy
Reply




Theme © iAndrew 2016 - Forum software by © MyBB