浏览代码

Update RestrictedNames

Daniel Supernault 6 年之前
父节点
当前提交
cfbd7d5a1a
共有 1 个文件被更改,包括 25 次插入6 次删除
  1. 25 6
      app/Util/Lexer/RestrictedNames.php

+ 25 - 6
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',