From 41929c09d45b40bf90c9cdc55c04a85dc2f7a91c Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 1 May 2019 22:54:29 -0600 Subject: [PATCH] Update RestrictedNames --- app/Util/Lexer/RestrictedNames.php | 31 ++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) diff --git a/app/Util/Lexer/RestrictedNames.php b/app/Util/Lexer/RestrictedNames.php index dace884e..d9912627 100644 --- a/app/Util/Lexer/RestrictedNames.php +++ b/app/Util/Lexer/RestrictedNames.php @@ -12,7 +12,6 @@ class RestrictedNames 'autoconfig', 'blog', 'broadcasthost', - 'community', 'contact', 'contact-us', 'contact_us', @@ -47,9 +46,6 @@ class RestrictedNames 'me', 'mis', 'mx', - 'new', - 'news', - 'news', 'no-reply', 'nobody', 'noc', @@ -103,9 +99,12 @@ class RestrictedNames 'horizon', // Reserved routes + 'a', 'account', 'api', + 'audio', 'auth', + 'b', 'bartender', 'broadcast', 'broadcaster', @@ -113,7 +112,11 @@ class RestrictedNames 'bouncer', 'c', 'css', + 'circle', + 'circles', 'checkpoint', + 'community', + 'communities', 'collection', 'collections', 'costar', @@ -135,9 +138,13 @@ class RestrictedNames 'driver', 'error', 'explore', + 'feed', 'font', 'fonts', + 'g', 'gdpr', + 'group', + 'groups', 'home', 'help', 'helpcenter', @@ -161,8 +168,16 @@ class RestrictedNames 'live', 'login', 'logout', + 'm', 'media', 'menu', + 'music', + 'n', + 'news', + 'new', + 'news', + 'news', + 'newsfeed', 'oauth', 'official', 'p', @@ -201,8 +216,16 @@ class RestrictedNames 'users', 'username', 'usernames', + 'v', + 'video', + 'videos', 'vendor', 'waiter', + 'wall', + 'whats-new', + 'whatsnew', + 'whatnew', + 'whats-news' 'ws', 'wss', 'www',