diff --git a/Classes/Integration/CoolUri.php b/Classes/Integration/CoolUri.php index c64bb36..64b7fb1 100644 --- a/Classes/Integration/CoolUri.php +++ b/Classes/Integration/CoolUri.php @@ -610,10 +610,17 @@ private static function extractArraysFromParams($params) if (empty($params)) { return Array(); } - foreach ($params as $k => $v) $params[$k] = $k . '=' . rawurlencode($v); + $alreadyExtracted = []; + foreach ($params as $k => $v) { + if (is_array($v)) { + $alreadyExtracted[$k] = $v; + } else { + $params[$k] = $k . '=' . rawurlencode($v); + } + } $qs = implode('&', $params); parse_str($qs, $output); - return $output; + return array_merge($output, $alreadyExtracted); } private static function isBEUserLoggedIn() diff --git a/composer.json b/composer.json index 9687b6b..0da7dca 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "type": "typo3-cms-extension", "require": { - "typo3/cms-core": ">= 8.7.0, <= 9.9.99" + "typo3/cms-core": "^9.5" }, "replace": { "cooluri": "self.version", diff --git a/ext_emconf.php b/ext_emconf.php index d79675d..f1645aa 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -9,7 +9,7 @@ 'author_email' => 'info@bednarik.org', 'constraints' => array( 'depends' => array( - 'typo3' => '8.7.0-9.9.99', + 'typo3' => '9.5.0-9.9.99', ), ), );