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

Update RestrictedNames
pull/725/head
daniel 7 years ago committed by GitHub
commit 25f679b4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save