From 6936234a081e64be140a083c334d5625234ee1b5 Mon Sep 17 00:00:00 2001 From: Christian Fries Date: Sun, 27 Oct 2024 14:38:43 +0100 Subject: [PATCH] [WIP][BUGFIX] Prohibit nested TYPO3 backend (#234) --- Classes/Domain/TypeConverter/ClientFilterDemandConverter.php | 2 +- Resources/Private/Templates/Statistic/Index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Domain/TypeConverter/ClientFilterDemandConverter.php b/Classes/Domain/TypeConverter/ClientFilterDemandConverter.php index e75eff5..5909326 100644 --- a/Classes/Domain/TypeConverter/ClientFilterDemandConverter.php +++ b/Classes/Domain/TypeConverter/ClientFilterDemandConverter.php @@ -74,6 +74,6 @@ protected function getProperties(): array { /** @var ServerRequest $request */ $request = $GLOBALS['TYPO3_REQUEST']; - return $request->getQueryParams()['filter'] ?? []; + return $request->getParsedBody()['filter'] ?? ($request->getQueryParams()['filter'] ?? []); } } diff --git a/Resources/Private/Templates/Statistic/Index.html b/Resources/Private/Templates/Statistic/Index.html index 36589f3..d52cfdb 100644 --- a/Resources/Private/Templates/Statistic/Index.html +++ b/Resources/Private/Templates/Statistic/Index.html @@ -211,7 +211,7 @@ - +