Skip to content

Commit

Permalink
Add a space
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed May 19, 2024
1 parent 4a73db1 commit d6c2461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit d6c2461

Please sign in to comment.