Allow uppercase letters in stream name

This commit is contained in:
Yohann D'ANELLO 2021-02-25 17:23:11 +01:00
parent e6fd4f6352
commit a429216735
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ import (
var (
// Precompile regex
validPath = regexp.MustCompile("^/[a-z0-9@_-]*$")
validPath = regexp.MustCompile("^/[a-zA-Z0-9@_-]*$")
counterMutex = new(sync.Mutex)
connectedClients = make(map[string]map[string]int64)