Issues

ZF-11393: Zend_Controller_Router_Rewrite::assemble() should throw exception when userParams is not an array

Description

assemble method should throw an exception in case of null userParams

code


$this->getFrontController()->getRouter()->assemble(null)

will cause Fatal error: Unsupported operand types in /home/www/techi.cz/secret/library/Zend/Controller/Router/Rewrite.php on line 462

Comments

Attached patch: * Added is_array check to Zend_Controller_Router_Rewrite::assemble * Added unit test to Zend_Controller_Router_RewriteTest

Fixed in trunk r24085

Merged to release-1.11 in r24129