This have the simple purpose to have URLs like:
username.domain.com/action/*, for example john.domain.com/image/id/76

but in ZF 1.8.1 the above route 'uActionsRoute' does not match such URLs. This is because in Controller/Router/Route.php there is a bug in match() method - when matching wildcard variables, $matchedPath is not updated.

well, why fixing this bug, when we can just go and manually fix it every time when we upgrade ZF version.. really no need to fix it

Posted by Cristian Bichis (avantis) on 2009-12-17T09:31:41.000+0000

I have made my own route class based on your fix, but of course, this is also a problem at any Route.php update, we loose the updates to the match function...

Posted by Cristian Bichis (avantis) on 2009-12-17T09:46:48.000+0000

Actually i don't understand why there is planned a 2.0 release if doesn't seems to be 1.x branch usable without lot of manual fixes. I have quite lot of "fix" classes taken from the Jira, just to cleanup the bugs from framework...

I guess for a very small project - newbies like - is possible that you won't find any bugs, but even for small-medium projects is impossible to develop without tons of classes to fix the bugs...

Posted by Artur Bodera (joust) on 2009-12-17T11:29:03.000+0000

I concur. I've got a pack of diff/patches to fix the holes, but it's ridiculous.

For example, the bug reported by me (ZF-7848) and related to static routes has a test scenario taken directly from ZF documentation examples! So something that is given in docs as an example is broken dead.

What is even more puzzling is that I've already devised a fix and posted it here, but none cares to use it :-)