emfminiserv: make the regex more permissive
This commit is contained in:
parent
c879c10e37
commit
1823ff693c
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ func validateSignature(content, secret, signature string) bool {
|
||||||
|
|
||||||
const (
|
const (
|
||||||
talkRegexFragment = `[0-9]+(_[\p{L}\p{N}\-]+)?`
|
talkRegexFragment = `[0-9]+(_[\p{L}\p{N}\-]+)?`
|
||||||
fileEndRegexFragment = `[0-9]{8}-[0-9]{6}[.]mp4`
|
fileEndRegexFragment = `[0-9]{8}-[0-9]{6}(-[a-zA-Z0-9][a-zA-Z0-9\-]*)?[.]mp4`
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in a new issue