fix(api): expand blocked usernames list (#40313)
This commit is contained in:
committed by
GitHub
parent
0b117274d7
commit
f7943d0ad5
@ -87,6 +87,39 @@ let blocklist = [
|
|||||||
'username',
|
'username',
|
||||||
'wiki',
|
'wiki',
|
||||||
|
|
||||||
|
// reserved paths for localizations
|
||||||
|
'afrikaans',
|
||||||
|
'arabic',
|
||||||
|
'bengali',
|
||||||
|
'catalan',
|
||||||
|
'chinese',
|
||||||
|
'czech',
|
||||||
|
'danish',
|
||||||
|
'dutch',
|
||||||
|
'espanol',
|
||||||
|
'finnish',
|
||||||
|
'french',
|
||||||
|
'german',
|
||||||
|
'greek',
|
||||||
|
'hebrew',
|
||||||
|
'hindi',
|
||||||
|
'hungarian',
|
||||||
|
'italian',
|
||||||
|
'japanese',
|
||||||
|
'korean',
|
||||||
|
'norwegian',
|
||||||
|
'polish',
|
||||||
|
'portuguese',
|
||||||
|
'romanian',
|
||||||
|
'russian',
|
||||||
|
'serbian',
|
||||||
|
'spanish',
|
||||||
|
'swahili',
|
||||||
|
'swedish',
|
||||||
|
'turkish',
|
||||||
|
'ukrainian',
|
||||||
|
'vietnamese',
|
||||||
|
|
||||||
// some more names from https://github.com/marteinn/The-Big-Username-Blacklist-JS/blob/master/src/list.js
|
// some more names from https://github.com/marteinn/The-Big-Username-Blacklist-JS/blob/master/src/list.js
|
||||||
'.htaccess',
|
'.htaccess',
|
||||||
'.htpasswd',
|
'.htpasswd',
|
||||||
|
Reference in New Issue
Block a user