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

Issue Type: Bug Created: 2011-05-20T23:06:19.000+0000 Last Updated: 2011-06-07T23:16:58.000+0000 Status: Resolved Fix version(s): - 1.11.8 (07/Jul/11)

Reporter: Michal Vrchota (techi) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend_Controller_Router

Related issues: Attachments: - ZF-11393.patch


assemble method should throw an exception in case of null userParams


<pre class="highlight">

will cause Fatal error: Unsupported operand types in /home/www/ on line 462


Posted by Adam Lundrigan (adamlundrigan) on 2011-05-30T16:23:21.000+0000

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

Posted by Adam Lundrigan (adamlundrigan) on 2011-05-30T16:33:11.000+0000

Fixed in trunk r24085

Posted by Adam Lundrigan (adamlundrigan) on 2011-06-07T23:16:42.000+0000

Merged to release-1.11 in r24129

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.