From b0d0c40caf35e333b7ba79766b7ec213b01acd74 Mon Sep 17 00:00:00 2001 From: Alexander Hesse Date: Mon, 18 Aug 2025 16:51:49 +0200 Subject: [PATCH] BUGFIX: sanitize current page input --- Resources/Private/Fusion/PaginatedCollection.fusion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Private/Fusion/PaginatedCollection.fusion b/Resources/Private/Fusion/PaginatedCollection.fusion index fbfb039..982e6e0 100644 --- a/Resources/Private/Fusion/PaginatedCollection.fusion +++ b/Resources/Private/Fusion/PaginatedCollection.fusion @@ -1,5 +1,5 @@ prototype(Flowpack.Listable:PaginatedCollection) < prototype(Neos.Fusion:Component) { - currentPage = ${request.arguments.currentPage || 1} + currentPage = ${String.toInteger(request.arguments.currentPage) || 1} ################################## # These settings are public API: # ##################################