X-OpenWrt/AI_CHANGELOG_WORKFLOW_INPUT...

14 lines
630 B
Markdown

# AI Modification Log: Workflow Input Validation
Date: 2026-06-29
## Change
- Updated X/Y/Z `Load Custom Variables` steps to copy dispatch inputs into shell variables before use.
- Added validation for `Tempoary_CONFIG` file names, IPv4 `Tempoary_IP`, and alphanumeric `Tempoary_FLAG`.
- Kept the existing fallback to default `CONFIG_FILE` when a valid config-shaped input does not match a file in `Configs/`.
## Reason
Dispatch inputs were interpolated directly into shell commands. Validating and quoting them reduces accidental shell breakage and rejects unsafe config names, invalid IPs, and unsupported flag characters.