Skip to content

Commit

Permalink
Hotfix arg sanitation: allow equal sign (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed May 19, 2024
1 parent e4107eb commit c556001
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 c556001

Please sign in to comment.