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

Issue Type: Bug Created: 2009-09-09T08:14:56.000+0000 Last Updated: 2012-11-20T20:52:39.000+0000 Status: Closed Fix version(s): Reporter: Stéphane (stephane) Assignee: None Tags: - Zend_Controller

Related issues: Attachments: - Route.php


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:


And the corresponding urls in French:


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


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


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.


Posted by Stéphane (stephane) on 2009-09-09T08:17:15.000+0000

The sections to modify are delimited by :

<pre class="highlight"> 
// PATCH (Start)
// PATCH (End)

Posted by Rob Allen (rob) on 2012-11-20T20:52:39.000+0000

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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.