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