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

Update RestrictedNames
This commit is contained in:
daniel 2018-12-28 20:40:21 -07:00 committed by GitHub
commit 25f679b4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,6 @@ class RestrictedNames
'ftp',
'guest',
'guests',
'help',
'hostmaster',
'hostmaster',
'image',
@ -94,9 +93,6 @@ class RestrictedNames
'ssladmin',
'ssladministrator',
'sslwebmaster',
'status',
'support',
'support',
'sys',
'sysadmin',
'system',
@ -107,7 +103,6 @@ class RestrictedNames
'uucp',
'webmaster',
'wpad',
'www',
];
public static $reserved = [
@ -126,36 +121,60 @@ class RestrictedNames
'account',
'api',
'auth',
'broadcast',
'broadcaster',
'css',
'checkpoint',
'collection',
'collections',
'c',
'i',
'cdn',
'dashboard',
'deck',
'discover',
'docs',
'error',
'explore',
'fonts',
'home',
'help',
'helpcenter',
'i',
'img',
'js',
'live',
'login',
'logout',
'media',
'official',
'p',
'password',
'reset',
'report',
'reports',
'robot',
'robots',
'search',
'send',
'settings',
'status',
'statuses',
'site',
'sites',
'static',
'story',
'stories',
'support',
'telescope',
'timeline',
'timelines',
'tour',
'user',
'users',
'vendor',
'ws',
'wss',
'www',
'400',
'401',
'403',