diff --git a/backend/utils/cmd/cmd.go b/backend/utils/cmd/cmd.go index 4e32bad1d..4d2780b5d 100644 --- a/backend/utils/cmd/cmd.go +++ b/backend/utils/cmd/cmd.go @@ -178,7 +178,7 @@ func CheckIllegal(args ...string) bool { if strings.Contains(arg, "&") || strings.Contains(arg, "|") || strings.Contains(arg, ";") || strings.Contains(arg, "$") || strings.Contains(arg, "'") || strings.Contains(arg, "`") || strings.Contains(arg, "(") || strings.Contains(arg, ")") || strings.Contains(arg, "\"") || - strings.Contains(arg, "\n") || strings.Contains(arg, "\r") || strings.Contains(arg, ">") { + strings.Contains(arg, "\n") || strings.Contains(arg, "\r") || strings.Contains(arg, ">") || strings.Contains(arg, "<") { return true } }