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() {
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user