Issue Bug Closed

#91040RequestBuilder fails merging params

Remo H. 04/15/20, 11:40 updated 05/11/21, 15:59

Description

If the plugin namespace param is not an array, RequestBuilder will fail.
This should not happen.

Example URL:
http://example.ddev.site/search?id=123&tx_solr=foo+bar

Error:

(1/1) TypeError
Argument 1 passed to TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule() must be of the type array, string given, called in /var/www/html/web/typo3/sysext/extbase/Classes/Mvc/Web/RequestBuilder.php on line 172

I guess any call like ?plugin_ns=foo instead of ?plugin_ns[xyz]=foo will cause the error.

Reviews 3