mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-06 16:22:08 +00:00
Review content may contain double quotes, $VAR, backticks, etc. that break double-quoted shell arguments or trigger run_shell_command security rejection. Replace direct string interpolation with a two-step approach: 1. Write body to temp file via quoted heredoc (<<'BODYEOF') which prevents ALL shell expansion 2. Reference file with -F body=@/tmp/pr-comment.txt in gh api calls and --body-file in gh pr review calls Also update Step 5 to clean up all temp files. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| core | ||
| sdk-java | ||
| sdk-typescript | ||
| test-utils | ||
| vscode-ide-companion | ||
| web-templates | ||
| webui | ||
| zed-extension | ||