From cfbd7d5a1a1aca0e9ac36d2bbe0fbb6320e3993b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 28 Dec 2018 20:39:16 -0700 Subject: [PATCH] Update RestrictedNames --- app/Util/Lexer/RestrictedNames.php | 31 ++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/app/Util/Lexer/RestrictedNames.php b/app/Util/Lexer/RestrictedNames.php index 0bd2648b6..5fe8d4d38 100644 --- a/app/Util/Lexer/RestrictedNames.php +++ b/app/Util/Lexer/RestrictedNames.php @@ -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',