From 2e3de0447ce7c3d246df930b186d2793c9a2a9a8 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/+/75047
Tested-by: core-ci <typo3@b13.com>
Tested-by: Simon Schaufelberger <simonschaufi+typo3@gmail.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Simon Schaufelberger <simonschaufi+typo3@gmail.com>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
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 7253ac216406..3f848d83646d 100644
--- a/typo3/sysext/core/Configuration/DefaultConfiguration.php
+++ b/typo3/sysext/core/Configuration/DefaultConfiguration.php
@@ -1351,7 +1351,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