The GitHub Actions job "Tests AMD" on 
airflow.git/security/improve-example-input-handling has failed.
Run started by GitHub user youming1970 (triggered by potiuk).

Head commit for run:
edd45d2a14cce78a854bf8cc4f7cddf6110250c6 / youming1970 
<[email protected]>
refactor: Use shlex.quote() for robust input sanitization

- Replace manual Jinja2 character escaping with Python's shlex.quote()
- Move sanitization logic from template layer to Python task layer
- Use printf instead of echo for predictable cross-platform behavior
- Add comprehensive documentation and null-safety checks
- Eliminates complex quote nesting that caused ruff formatting conflicts

This approach aligns with maintainer feedback and follows Python security
best practices for shell command construction. All injection vectors
including semicolons, command substitution, quotes, and unicode are
safely handled.

Addresses feedback from @potiuk in PR review discussion.

Report URL: https://github.com/apache/airflow/actions/runs/17546263529

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to