From 482cf02b00876f799516036cef52c061136a0954 Mon Sep 17 00:00:00 2001 From: dizzy Date: Fri, 18 Jun 2021 00:14:35 -0700 Subject: fix regression in trackingspamprevention and warning in bound parameter checking code (#17683) * remove testdox * fix warning if parameters is a single value, not an array * allow skipping valid host check for hardcoded URLs we know are valid * print testdox hint in case build takes too long to finish consistently * move testdox warning to correct boostrap file * fixing some tests + fix use of Date in bind params --- config/global.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/global.php') diff --git a/config/global.php b/config/global.php index 14fb7b50aa..4be44c4dbd 100644 --- a/config/global.php +++ b/config/global.php @@ -179,9 +179,9 @@ return array( * This defines a list of hostnames Matomo's Http class will deny requests to. Wildcards (*) can be used in the * beginning to match any subdomain level or in the end to match any tlds */ - 'http.blocklist.hosts' => DI\add([ - '*.amazonaws.com' - ]), + 'http.blocklist.hosts' => [ + '*.amazonaws.com', + ], 'Piwik\Tracker\VisitorRecognizer' => DI\autowire() ->constructorParameter('trustCookiesOnly', DI\get('ini.Tracker.trust_visitors_cookies')) -- cgit v1.2.3