Issues

ZF-4752: Parameters in chained routes get added to each route

Description

$pathRoute = new Zend_Controller_Router_Route( ':controller/:action/*', array( 'controller' => 'index', 'action' => 'index' ) );

$accountRoute = new Zend_Controller_Router_Route_Hostname( ':account.myapp.com', array( 'module' => 'account', ), array( 'account' => '([a-z0-9]+)', ) ); $router->addRoute('account', $accountRoute->chain($pathRoute));

Assembling this route with the gives the following result: http://accountvalue.myapp.com/controller/action/…

Where as I only want: http://accountvalue.myapp.com/controller/action

Comments

Changing issues in preparation for the 1.7.0 release.