mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
- Quote the heredoc delimiter when writing deploy params to the deployer guest, so deploy content, passwords and other user-supplied values are written literally and shell expansions ($(...), backticks, $VAR) inside them are not evaluated by the remote shell - Escape JSON passed via --deploy-params as a single POSIX shell word, preventing single quotes in user data from breaking out of the argument - Add unit tests covering injection payloads Co-authored-by: Qiu Jian <qiujian@yunionyun.com> Co-authored-by: Claude <noreply@anthropic.com>