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.
This commit is contained in:
		| @@ -6,10 +6,12 @@ set -euo pipefail | |||||||
| sanitized_input() { | sanitized_input() { | ||||||
|     local input="$1" |     local input="$1" | ||||||
|     # Check for potentially dangerous characters/commands |     # Check for potentially dangerous characters/commands | ||||||
|     if [[ "$input" =~ [;\|&\`\$] ]]; then |     case "$input" in | ||||||
|         echo "Error: Invalid input detected: $input" >&2 |         *[\;\|\&\`\$]*) | ||||||
|         exit 1 |             echo "Error: Invalid input detected: $input" >&2 | ||||||
|     fi |             exit 1 | ||||||
|  |             ;; | ||||||
|  |     esac | ||||||
| } | } | ||||||
|  |  | ||||||
| # Validate dependencies | # Validate dependencies | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user