mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-09-01 17:44:51 +02:00
Fix segault in ntfy pub
This commit is contained in:
parent
04cc71af90
commit
dc8932cd95
5 changed files with 13 additions and 2 deletions
|
@ -29,6 +29,7 @@ var flagsDefault = []cli.Flag{
|
|||
|
||||
var (
|
||||
logLevelOverrideRegex = regexp.MustCompile(`(?i)^([^=\s]+)(?:\s*=\s*(\S+))?\s*->\s*(TRACE|DEBUG|INFO|WARN|ERROR)$`)
|
||||
topicRegex = regexp.MustCompile(`^[-_A-Za-z0-9]{1,64}$`) // Same as in server/server.go
|
||||
)
|
||||
|
||||
// New creates a new CLI application
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue