Project

General

Profile

Actions

Bug #91040

closed

RequestBuilder fails merging params

Added by R3 H6 about 4 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2020-04-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF