1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update RestrictedNames

This commit is contained in:
Daniel Supernault 2019-07-22 22:39:36 -06:00
parent 1f2a57132f
commit 654b880119
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -5,10 +5,6 @@ namespace App\Util\Lexer;
class RestrictedNames class RestrictedNames
{ {
public static $blacklist = [ public static $blacklist = [
'about',
'abuse',
'administrator',
'app',
'autoconfig', 'autoconfig',
'blog', 'blog',
'broadcasthost', 'broadcasthost',
@ -97,7 +93,11 @@ class RestrictedNames
// Reserved routes // Reserved routes
'a', 'a',
'app',
'about',
'abuse',
'account', 'account',
'admins',
'api', 'api',
'audio', 'audio',
'auth', 'auth',
@ -124,6 +124,7 @@ class RestrictedNames
'css', 'css',
'd', 'd',
'dashboard', 'dashboard',
'dmca',
'db', 'db',
'deck', 'deck',
'dev', 'dev',
@ -136,15 +137,27 @@ class RestrictedNames
'docs', 'docs',
'docs', 'docs',
'drive', 'drive',
'drives',
'driver', 'driver',
'e',
'error', 'error',
'explore', 'explore',
'export',
'exports',
'f',
'feed', 'feed',
'font', 'font',
'fonts', 'fonts',
'follow',
'follows',
'followme',
'follow-me',
'follow_me',
'g', 'g',
'gdpr', 'gdpr',
'graph', 'graph',
'ghost',
'ghosts',
'group', 'group',
'groups', 'groups',
'h', 'h',
@ -164,7 +177,12 @@ class RestrictedNames
'images', 'images',
'invite', 'invite',
'invites', 'invites',
'import',
'imports',
'j',
'js', 'js',
'k',
'key',
'l', 'l',
'lab', 'lab',
'labs', 'labs',
@ -186,6 +204,7 @@ class RestrictedNames
'news', 'news',
'news', 'news',
'newsfeed', 'newsfeed',
'o',
'oauth', 'oauth',
'official', 'official',
'p', 'p',
@ -197,13 +216,21 @@ class RestrictedNames
'photos', 'photos',
'password', 'password',
'privacy', 'privacy',
'private',
'q',
'quote',
'query',
'r',
'review',
'reset', 'reset',
'report', 'report',
'results', 'results',
'reports', 'reports',
'robot', 'robot',
'robots', 'robots',
's',
'search', 'search',
'sell',
'send', 'send',
'settings', 'settings',
'status', 'status',
@ -217,20 +244,24 @@ class RestrictedNames
'support', 'support',
'svg', 'svg',
'svgs', 'svgs',
't',
'terms', 'terms',
'telescope', 'telescope',
'timeline', 'timeline',
'timelines', 'timelines',
'tour', 'tour',
'tv', 'tv',
'u',
'user', 'user',
'users', 'users',
'username', 'username',
'usernames', 'usernames',
'v', 'v',
'valet',
'video', 'video',
'videos', 'videos',
'vendor', 'vendor',
'w',
'waiter', 'waiter',
'wall', 'wall',
'whats-new', 'whats-new',
@ -240,7 +271,9 @@ class RestrictedNames
'ws', 'ws',
'wss', 'wss',
'www', 'www',
'valet', 'x',
'y',
'z',
'400', '400',
'401', '401',
'403', '403',