1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 17:26:43 +00:00

Update RestrictedNames

This commit is contained in:
Daniel Supernault 2018-12-28 20:39:16 -07:00
parent a2a69c9d6c
commit cfbd7d5a1a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

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',