CodeIgniter Forums
controller and method name with hypen - secured? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: controller and method name with hypen - secured? (/showthread.php?tid=61359)



controller and method name with hypen - secured? - agriz - 04-10-2015

Hi

I use MY_ Router to change the url.
The controller name and methods are defined with _ (ex. this_method)
But i changed them to display like this in the url (http://..../this-method)

I copied a MY_Router from internet and it is working good.
But i don't know whether it is secured. 
Does codeigniter provide any other way to achieve this?

Thanks


RE: controller and method name with hypen - secured? - agriz - 04-14-2015

Please tell me is it good idea to use router to change the underscore to hyphens?