Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Make CI URI accept dash in all segments. #53

bitbucket-import opened this Issue · 1 comment

2 participants



I have MY_Router extension, but i think it's good idea to implement it in CI.

My code:


class MY_Router extends CI_Router
function set_request($segments = array()) {
parent::_set_request(str_replace('-', '
', $segments));


Absolutely not, that is random and very ambiguous, but you can do that with routes or use the extended code you have there. That is the fun of people able to extend classes! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.