Issues

ZF-7811: Wildcard data (captured by *) is not translated in routes

Description

Localization of urls work perfectly, except for wildcard parameters. For example, if we define the following route :

bq. @contents/@pages/:@action/*

We can handle urls like this in English:

bq. http://domain.com/contents/pages/list/

And the corresponding urls in French:

bq. http://domain.com/contenus/pages/lister/

But considering now parameters (key-value pairs) defined by the '*' in the route, we could have in English:

bq. http://domain.com/contenus/pages/…

However, the following (the same parameters in French) will not work:

bq. http://domain.com/contenus/pages/…

So parameters defined by the '*' are never translated, whereas they should (and can) be. You will find attached to this issue a patch of the {{Zend_Controller_Router_Route}} class to make this work (it modifies the {{match()}} and {{assemble()}} methods).

Note this patch leveraged the patch proposed in the issue ZF-6654.

Comments

The sections to modify are delimited by :

 
// PATCH (Start)
...
// PATCH (End)

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.