mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-22 08:02:19 +00:00
Allow uppercase letters in stream name
This commit is contained in:
parent
e6fd4f6352
commit
a429216735
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user