Skip to content

Commit

Permalink
[WIP][BUGFIX] Prohibit nested TYPO3 backend (georgringer#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-fries committed Oct 29, 2024
1 parent e7daa33 commit 6936234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'] ?? []);
}
}
2 changes: 1 addition & 1 deletion Resources/Private/Templates/Statistic/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
</div>
</f:if>

<f:form action="index" method="get" name="filter" object="{filter}" class="filter">
<f:form action="index" method="post" name="filter" object="{filter}" class="filter">
<f:form.hidden property="withExtraWarning"/>
<f:form.hidden property="withExtraDanger"/>
<div class="row">
Expand Down

0 comments on commit 6936234

Please sign in to comment.