[eluser]Derek Jones[/eluser]
It's not your routing, iGN, it's the request URI. I made a change the other day to prevent CI from trying to call private and protected methods from the URI:
Code:
if (! in_array($method, get_class_methods($CI)))
method_exists() and is_callable() unfortunately both report TRUE when they shouldn't, so the above had to be used, and in_array() is of course case-sensitive. Since we're dealing with URIs here, which are technically case sensitive, I'm on the fence. My gut says that this should have been the behavior of CI from the beginning, and that treating the request as case insensitive is wrong. However, PHP is case insensitive with method names, so a developer wouldn't even be able to have identical methods with different casing. But the visitor shouldn't be exposed to the technology the site is running on; if we were working with static files, your users would get 404s if they tried to use casing that did not match your file structure. Hrm.