mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 10:48:17 +00:00
4950bf6664
In T209565#4826952 I discovered that if the "abusefilter-blocker" message is an invalid username, we silently end up without a system user, thus risking to break something. Instead of silently failing, emit a warning and use the default name. As I wrote in the code comment, we'd better avoid throwing, because the message can be modified by anyone, who could then break the site. Change-Id: Ifa866bd9676945bf94e7e481adf6ad0d6cf4370c |
||
---|---|---|
.. | ||
api | ||
pagers | ||
parser | ||
special | ||
Views | ||
AbuseFilter.php | ||
AbuseFilterChangesList.php | ||
AbuseFilterHooks.php | ||
AbuseFilterModifyLogFormatter.php | ||
AbuseFilterPreAuthenticationProvider.php | ||
AbuseFilterSuppressLogFormatter.php | ||
AbuseFilterVariableHolder.php | ||
AbuseLogHitFormatter.php | ||
AFComputedVariable.php | ||
TableDiffFormatterFullContext.php |