So after reading this question on API versioning, I decided to prefix all my routes with a version number:
http://localhost/api/1.0/user/login
But when I throw an exception within Exceptions Core, it says that the route is:
10/UserControll...
I've tried escaping the period, but this did not work. Can anyone replicate this problem and think of a possible solution for it?
This is the route I am using for the above:
$route['1.0/user/(:any)'] = '1.0/UserController/$1';
These are my permitted URI chars:
$config['permitted_uri_chars'] = 'a-z 0-9~%\.:_\-';