From 0e31e2b7a4170bfa15a65299eed72cdad1143c3b Mon Sep 17 00:00:00 2001
From: dsteinborn <d.steinborn@tripuls.de>
Date: Thu, 7 Jul 2022 23:39:33 +0200
Subject: [PATCH] [BUGFIX] Add missing msclkid parameter to cacheHash
 excludedParameters

"msclkid" is the Click ID parameter of Microsoft / Bing
which should be excluded from cHash generation.

Resolves: #97870
Releases: main, 11.5, 10.4
Change-Id: I9c625e559cb2c7cf031466730ea4eab2e376f9ff
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75064
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
---
 typo3/sysext/core/Configuration/DefaultConfiguration.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Configuration/DefaultConfiguration.php b/typo3/sysext/core/Configuration/DefaultConfiguration.php
index 13cee79e7d67..d8eb067c4693 100644
--- a/typo3/sysext/core/Configuration/DefaultConfiguration.php
+++ b/typo3/sysext/core/Configuration/DefaultConfiguration.php
@@ -1354,7 +1354,7 @@ return [
         'disableNoCacheParameter' => false,
         'cacheHash' => [
             'cachedParametersWhiteList' => [],
-            'excludedParameters' => ['L', 'pk_campaign', 'pk_kwd', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'gclid', 'fbclid'],
+            'excludedParameters' => ['L', 'pk_campaign', 'pk_kwd', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'gclid', 'fbclid', 'msclkid'],
             'requireCacheHashPresenceParameters' => [],
             'excludeAllEmptyParameters' => false,
             'excludedParametersIfEmpty' => []
-- 
GitLab