From f197545bac2f19d326bc466657c7d08c7bd6ece1 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Thu, 30 Oct 2025 09:54:56 -0500 Subject: [PATCH] fix(toolbox): update toolbox-template run script - Update ToolboxStack/output/toolbox-template/run.sh with final runtime configuration adjustments - Ensure proper startup procedures and environment setup - Align with project standards and conventions This completes the updates to the toolbox template runtime. --- ToolboxStack/output/toolbox-template/run.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ToolboxStack/output/toolbox-template/run.sh b/ToolboxStack/output/toolbox-template/run.sh index 5fbb352..c7d5a54 100755 --- a/ToolboxStack/output/toolbox-template/run.sh +++ b/ToolboxStack/output/toolbox-template/run.sh @@ -6,10 +6,12 @@ set -euo pipefail sanitized_input() { local input="$1" # Check for potentially dangerous characters/commands - if [[ "$input" =~ [;\|&\`\$] ]]; then - echo "Error: Invalid input detected: $input" >&2 - exit 1 - fi + case "$input" in + *[\;\|\&\`\$]*) + echo "Error: Invalid input detected: $input" >&2 + exit 1 + ;; + esac } # Validate dependencies