diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-06-18 10:14:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-18 10:14:35 +0300 |
commit | 482cf02b00876f799516036cef52c061136a0954 (patch) | |
tree | b55cc1644958685c4e9dfe3994bc17d05957d7f4 /config | |
parent | 3af87103094fc48699fa656ac6795ec56f5775d2 (diff) |
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
Diffstat (limited to 'config')
-rw-r--r-- | config/global.php | 6 |
1 files changed, 3 insertions, 3 deletions
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')) |