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