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

This commit is contained in:
Joram Wilander
2021-07-28 08:06:00 -04:00
committed by GitHub
parent 0d075c32db
commit 5c22a8f083
2 changed files with 4 additions and 0 deletions

View File

@@ -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) {

View File

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