diff --git a/backend/utils/cmd/cmd.go b/backend/utils/cmd/cmd.go index fa290024e..4e32bad1d 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, "\n") || strings.Contains(arg, "\r") || strings.Contains(arg, ">") { return true } }