Issues

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

Issue Type: Improvement Created: 2008-10-30T14:42:03.000+0000 Last Updated: 2008-11-13T14:10:22.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Tom Graham (noginn) Assignee: Ben Scholzen (dasprid) Tags: - Zend_Controller

Related issues: Attachments:

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

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:22.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.

Copyright

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

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

Contacts