1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2024-12-22 09:12:19 +00:00

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

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)