From 3dc9b632593132db6c0af4df13f023622b2e9160 Mon Sep 17 00:00:00 2001
From: Andreas Kienast <a.fernandez@scripting-base.de>
Date: Mon, 4 Mar 2024 15:09:23 +0100
Subject: [PATCH] [BUGFIX] Exclude `gad_source` parameter from cHash
 calculation

Google gradually rolls out the `gad_source` parameter as a replacement
for the already excluded `gad` parameter.

This patch modifies the exclude list.

Resolves: #103264
Releases: main, 12.4, 11.5
Change-Id: I4feacd48ed2cd1640e4d7a4ba95470e8702303d0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83194
Reviewed-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: Andreas Nedbal <andy@pixelde.su>
Reviewed-by: Andreas Nedbal <andy@pixelde.su>
Tested-by: Andreas Kienast <a.fernandez@scripting-base.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci <typo3@b13.com>
Tested-by: Jonas Eberle <flightvision@googlemail.com>
Reviewed-by: Jonas Eberle <flightvision@googlemail.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
---
 typo3/sysext/core/Configuration/DefaultConfiguration.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/typo3/sysext/core/Configuration/DefaultConfiguration.php b/typo3/sysext/core/Configuration/DefaultConfiguration.php
index 114c4bbff3cf..f4367a7e688c 100644
--- a/typo3/sysext/core/Configuration/DefaultConfiguration.php
+++ b/typo3/sysext/core/Configuration/DefaultConfiguration.php
@@ -1412,6 +1412,7 @@ return [
                 '_gl',
                 // Google ads
                 'gad',
+                'gad_source',
                 'gclid',
                 'dclid',
                 // Facebook
-- 
GitLab