From 602447d3cc6cbbb3a834b507e133e23a6997717b Mon Sep 17 00:00:00 2001 From: Joe Corall Date: Sat, 18 May 2024 21:53:56 -0400 Subject: [PATCH] Allow equal sign in args --- internal/config/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/config/server.go b/internal/config/server.go index b6f7f74..6be32e6 100644 --- a/internal/config/server.go +++ b/internal/config/server.go @@ -253,7 +253,7 @@ func GetPassedArgs(args string) ([]string, error) { } // make sure args are OK - regex, err := regexp.Compile(`^[a-zA-Z0-9._\-:\/@ ]+$`) + regex, err := regexp.Compile(`^[a-zA-Z0-9._\-:\/@ =]+$`) if err != nil { return nil, fmt.Errorf("failed to compile regex: %v", err) }