1

There are 1 best solutions below

1
Thomas Löffler On BEST ANSWER

Take a look into configuration what is set for the settings:

$GLOBALS['TYPO3_CONF_VARS']['FE']['cHashExcludedParameters']
$GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError']

In pageNotFoundOnCHashError you can define if the system throws a 404 when cHash parameters are not valid e.g. when a parameter was added but not handled in cHash. This is happening when an external service adds parameter like Google does in your case.

In cHashExcludedParameters you can define the parameters that are not used to validate the cHash.

There are 2 options now:

  1. Set pageNotFoundOnCHashError to 0 (not so good solution as there won't be a 404 when someone tries to manipulate the parameters)
  2. Add _gl to the list of cHashExcludedParameters (better solution as you whitelist the Google parameter and keep your system safe)