fix(api): expand blocked usernames list (#40313)

This commit is contained in:
Kristofer Koishigawa
2020-11-25 22:28:49 +09:00
committed by GitHub
parent 0b117274d7
commit f7943d0ad5

View File

@ -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',