Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Clean up URI parsing #1316
I'm new to CodeIgniter, so I had a look to see how the "nice urls" worked. I was hampered a little by my understanding of HTTP etc., which CodeIgniter did not seem to match in several places. After a little research and testing, I concluded that in several places the mismatch was in CodeIgniter, and not just my understanding of it :)
This is a "clean up", in the sense that these aren't critical fixes. (But they are behavioral changes; I don't mean it's just refactoring).
Passes unit tests (ignoring database, which I don't have set up).
Eek, this was not the code I was looking for. (Last commit screwed up).
PHP Parse error: syntax error, unexpected ';' in /home/alan/php/CodeIgniter/system/core/URI.php on line 125
I'll regenerate this tree tomorrow (GMT), incorporating your comments thus far. Thanks.