Archiving task fails when tracking failures contain large number of URL params (notify tracking failures) #20422
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
Milestone
Expected Behavior
Archive task should complete successfully
Current Behavior
Archive task fails due to the following:
parse_str(): Input variables exceeded 1000
Possible Solution
matomo/plugins/CoreAdminHome/Tasks.php
Line 216 in f29b990
Steps to Reproduce (for Bugs)
Context
Sometimes there are malicious attempts to access URLs with many parameters, which causes the archiving task to fail when it comes to report the tracking failures. Note that we do not want to increase the parameter limit as suggested, since this is a malicious attempt.
We currently have the configuration setting for notifying tracking failures turned off, but this doesn't fix the issue, as noted above, the code attempts to get the failures before checking the config. It would be nice as a stopgap to avoid the issue by having the configuration switched off.
Your Environment
4.13.3
The text was updated successfully, but these errors were encountered: