Add "playbooks" and "boards" to restricted team URLs list (#18014)

Этот коммит содержится в:
Joram Wilander
2021-07-28 08:06:00 -04:00
коммит произвёл GitHub
родитель 0d075c32db
Коммит 5c22a8f083
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@@ -100,6 +100,8 @@ var tReservedDomains = []struct {
{"admin", true},
{"Admin-punch", true},
{"spin-punch-admin", false},
{"playbooks", true},
{"boards", true},
}
func TestReservedTeamName(t *testing.T) {

Просмотреть файл

@@ -392,6 +392,8 @@ var reservedName = []string{
"plugins",
"post",
"signup",
"boards",
"playbooks",
}
func IsValidChannelIdentifier(s string) bool {