Colin Guthrie <[EMAIL PROTECTED]> napisał(a):

> Anyway, I'm using Zend_Controller_Router_Route_Regex, and have found
> some odd behaviour that I'm not 100% sure is deliberate and wonder if
> someone could confirm this is expected or if it's actually a bug!

Why don't you look at the code and the test suite? Regex route does this as 
a first line when matching path_info:

$path = trim(urldecode($path), '/');

First of all it's being done in order to be consistent with the rest of the 
routes which behave similarly.

Secondly, there were some issues reported on JIRA regarding the issue - you 
can read them if you want additional info. As far as I remember regex route 
used to do only ltrim in the beginning.

> Col



-- 
Martel Valgoerad aka Michal Minicki | [EMAIL PROTECTED] | 
http://aie.pl/martel.asc
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"Idleness is not doing nothing. Idleness is being free to do anything." 
 -- Floyd Dell

Reply via email to