[TASK] Add parameter gclid to excludedParameters for cHash generation 63/54563/2
authorGeorg Ringer <georg.ringer@gmail.com>
Mon, 6 Nov 2017 08:27:02 +0000 (09:27 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Mon, 6 Nov 2017 09:46:14 +0000 (10:46 +0100)
The parameter 'gclid' is used as click identifier for Google AdWords
and must not be used during the cHash generation.

Resolves: #82927
Releases: master, 8.7
Change-Id: Id279238738550cfbd0b86e6decf94a86230535ee
Reviewed-on: https://review.typo3.org/54562
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-on: https://review.typo3.org/54563

typo3/sysext/core/Configuration/DefaultConfiguration.php

index 30e56d0..1869b8d 100644 (file)
@@ -993,7 +993,7 @@ return [
         'eID_include' => [], // Array of key/value pairs where key is "tx_[ext]_[optional suffix]" and value is relative filename of class to include. Key is used as "?eID=" for \TYPO3\CMS\Frontend\Http\RequestHandlerRequestHandler to include the code file which renders the page from that point. (Useful for functionality that requires a low initialization footprint, eg. frontend ajax applications)
         'disableNoCacheParameter' => false,
         'cacheHash' => [], // Array: Processed values of the cHash* parameters, handled by core bootstrap internally
-        'cHashExcludedParameters' => 'L, pk_campaign, pk_kwd, utm_source, utm_medium, utm_campaign, utm_term, utm_content',
+        'cHashExcludedParameters' => 'L, pk_campaign, pk_kwd, utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid',
         'cHashOnlyForParameters' => '',
         'cHashRequiredParameters' => '',
         'cHashExcludedParametersIfEmpty' => '',