CodeIgniter Routing with Slashes -
anyone know of way prevent codeigniter stopping on slash when parsing arguments?
example.com/code/master/foo/bar
where code
, master
arguments 1 , 2, , rest argument 3.
update: part of routing code separates segments slashes, don't think it's possible way. did find work around using uri->segments.
there no way this. according system/libraries/router.php
, first thing router split request based on slashes. after split start looking @ contents using regular expressions.
you try extending router class, recommendation not use slashes parameters whenever possible.
Comments
Post a Comment