ZF-11627: Missing module in _forward() creates loop

Issue Type: Bug Created: 2011-07-29T16:15:59.000+0000 Last Updated: 2011-07-29T16:15:59.000+0000 Status: Open Fix version(s): Reporter: Adrian World (adrianworld) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Controller

Related issues: Attachments:


If you call $this->_forward($action,$controller,$module) in a controller for a module which is missing the application ends up in a loop. Maybe there are other measures to prevent a loop at all but for this particular case in the _forward method where we have if (null !== $module) (~line 667) a check on $this->getFrontController()->getControllerDirectory() and array_key_exists() for the module name could be used to throw an exception instead.


No comments to display

Have you found an issue?

See the Overview section for more details.


© 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.