[dev] [cvs] commit: incubator/content/config routes.php

Chuck Hagenbuch chuck at horde.org
Tue Dec 9 16:23:42 UTC 2008


Quoting Michael Rubinsky <mike at theupstairsroom.com>:

> mrubinsk    2008-12-08 18:05:04 EST
>
>   Modified files:
>     content/config       routes.php
>   Log:
>   Need to trim the leading '/' here, since Horde_Controller_Request_Http
>   trims it off the _uri property in it's c'tor
>
>   Chuck - does this seem right to you?  I couldn't get routes to  
> match correctly without it

It was working for me before, but it still works now, and this does  
match the routes documentation (paths not having leading slashes)  
better. I've changed it to use ltrim though, in case a trailing slash  
is significant somewhere down the line.

-chuck


More information about the dev mailing list