[eluser]Seppo[/eluser]
When setting up a rule that routes the uri "back" it doesn't reindex. For example
Code:
routes['welcome/index/abc'] = 'welcome/index';
it actually calls to welcome::index('abc'), but it should call welcome::index(); because the router erased the third segment. Also the rsegments array is wrong.
The error is on CI_URI::_reindex_segments
Code:
$diff = (count(array_diff($this->rsegments, $this->segments)) == 0) ? FALSE : TRUE;
I´m not sure how to fix it... May be comparing both arrays, in a simpler way ($this->rsegments == $this->segments) ? I´m not sure I´m not breaking anything doing that =)