Merge pull request #1245 from pixelfed/frontend-ui-refactor

Update RestrictedNames
This commit is contained in:
daniel 2019-05-01 22:55:04 -06:00 committed by GitHub
commit 66688544bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,6 @@ class RestrictedNames
'autoconfig', 'autoconfig',
'blog', 'blog',
'broadcasthost', 'broadcasthost',
'community',
'contact', 'contact',
'contact-us', 'contact-us',
'contact_us', 'contact_us',
@ -47,9 +46,6 @@ class RestrictedNames
'me', 'me',
'mis', 'mis',
'mx', 'mx',
'new',
'news',
'news',
'no-reply', 'no-reply',
'nobody', 'nobody',
'noc', 'noc',
@ -103,9 +99,12 @@ class RestrictedNames
'horizon', 'horizon',
// Reserved routes // Reserved routes
'a',
'account', 'account',
'api', 'api',
'audio',
'auth', 'auth',
'b',
'bartender', 'bartender',
'broadcast', 'broadcast',
'broadcaster', 'broadcaster',
@ -113,7 +112,11 @@ class RestrictedNames
'bouncer', 'bouncer',
'c', 'c',
'css', 'css',
'circle',
'circles',
'checkpoint', 'checkpoint',
'community',
'communities',
'collection', 'collection',
'collections', 'collections',
'costar', 'costar',
@ -135,9 +138,13 @@ class RestrictedNames
'driver', 'driver',
'error', 'error',
'explore', 'explore',
'feed',
'font', 'font',
'fonts', 'fonts',
'g',
'gdpr', 'gdpr',
'group',
'groups',
'home', 'home',
'help', 'help',
'helpcenter', 'helpcenter',
@ -161,8 +168,16 @@ class RestrictedNames
'live', 'live',
'login', 'login',
'logout', 'logout',
'm',
'media', 'media',
'menu', 'menu',
'music',
'n',
'news',
'new',
'news',
'news',
'newsfeed',
'oauth', 'oauth',
'official', 'official',
'p', 'p',
@ -201,8 +216,16 @@ class RestrictedNames
'users', 'users',
'username', 'username',
'usernames', 'usernames',
'v',
'video',
'videos',
'vendor', 'vendor',
'waiter', 'waiter',
'wall',
'whats-new',
'whatsnew',
'whatnew',
'whats-news'
'ws', 'ws',
'wss', 'wss',
'www', 'www',