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

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

c++ - Clear the memory after returning a vector in a function -

erlang - Saving a digraph to mnesia is hindered because of its side-effects -