Welcome Guest, Not a member yet? Register   Sign In
default_controller routing with varibles broken

The documentation states that the default_controller route can be set to a controller name which will be called if the URI contains no data.



The upgrade notes point out that it will also accept a controller/method pair, but that a previous "bug" which allowed you to set a directory/controller, directory/controller/method, or controller/method/value has been "fixed", so this is no longer possible. However, 'default_controller' and '404_override' are now applied per directory, so the default controller can be added to each directory in your controllers directory to handle URLs pointing to a directory without a controller.


In other words, I could not find anything in the documentation which states that a 3-segment value will be accepted for the 'default_controller' route, so the fact that it's being interpreted in a manner which is not desirable is only a bug in the sense that it should probably fail more dramatically.

Messages In This Thread
RE: default_controller routing with varibles broken - by mwhitney - 06-15-2015, 08:11 AM

Theme © iAndrew 2016 - Forum software by © MyBB