Skip to content

Commit

Permalink
Merge pull request #9 from Smove/patch-1
Browse files Browse the repository at this point in the history
[BUGFIX] Set correct config for forbidInvalidCacheHashQueryParameter
  • Loading branch information
achimfritz authored Feb 9, 2023
2 parents 46c7048 + c85cfa5 commit f5addfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function allowInvalidCacheHashQueryParameter(): self

public function forbidInvalidCacheHashQueryParameter(): self
{
$GLOBALS['TYPO3_CONF_VARS']['FE']['disableNoCacheParameter'] = true;
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = true;
return $this;
}

Expand Down

0 comments on commit f5addfd

Please sign in to comment.