Răsfoiți Sursa

Update RestrictedNames

Daniel Supernault 6 ani în urmă
părinte
comite
41929c09d4
1 a modificat fișierele cu 27 adăugiri și 4 ștergeri
  1. 27 4
      app/Util/Lexer/RestrictedNames.php

+ 27 - 4
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',