From 0a421909969684ab6213673b17a911046affe741 Mon Sep 17 00:00:00 2001
From: Philipp Nowinski <philipp@sgalinski.de>
Date: Tue, 17 Oct 2017 13:51:19 +0200
Subject: [PATCH] [BUGFIX] set requireCHashArgumentForActionArguments to 0 for
 pageBrowser; avoids 404 errors

---
 Configuration/TypoScript/Frontend/setup.txt | 2 ++
 composer.json                               | 2 +-
 ext_emconf.php                              | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Configuration/TypoScript/Frontend/setup.txt b/Configuration/TypoScript/Frontend/setup.txt
index 9bdc8aa..bc8bbff 100644
--- a/Configuration/TypoScript/Frontend/setup.txt
+++ b/Configuration/TypoScript/Frontend/setup.txt
@@ -118,6 +118,8 @@ plugin.tx_sgnews {
 		view < plugin.tx_sgnews.view
 		persistence < plugin.tx_sgnews.persistence
 		features < plugin.tx_sgnews.features
+		# cHash can't be generated for pageBrowser call; will cause a 404 error if not set to 0
+		features.requireCHashArgumentForActionArguments = 0
 		legacy < plugin.tx_sgnews.legacy
 		settings {
 			# Number of page links to show before the current page
diff --git a/composer.json b/composer.json
index beb4395..771d8fc 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,7 @@
 	"license": [
 		"GPL-2.0+"
 	],
-	"version": "5.0.1",
+	"version": "5.0.2",
 	"support": {
 	},
 	"repositories": [
diff --git a/ext_emconf.php b/ext_emconf.php
index 56d6616..8369fc3 100644
--- a/ext_emconf.php
+++ b/ext_emconf.php
@@ -19,7 +19,7 @@ $EM_CONF[$_EXTKEY] = [
 	'modify_tables' => '',
 	'clearCacheOnLoad' => 0,
 	'lockType' => '',
-	'version' => '5.0.1',
+	'version' => '5.0.2',
 	'constraints' => [
 		'depends' => [
 			'typo3' => '7.6.0-8.7.99',
-- 
GitLab