mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +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 |
||
---|---|---|
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
abusefilter.tables.pg.sql | ||
abusefilter.tables.sql | ||
abusefilter.tables.sqlite.sql | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
hooks.txt | ||
package.json |