The after-completion example put {{ output }} and {{ exitCode }} inside
single-quoted shell arguments, so and never expanded
after substituteShellAfterCompletedEnvRefs runs.
Update the apprise sample to use printf-based quoting that allows env
substitution, document the single-quote pitfall, and extend
TestShellAfterCompletedUsesOutputEnvSafely to assert stdout is
substituted as well as injection being blocked.
|
||
|---|---|---|
| .. | ||
| cmd/config-tool | ||
| gen/olivetin/api/v1 | ||
| internal | ||
| scripts/find-flakey-tests-inf | ||
| .air.toml | ||
| Makefile | ||
| generate.go | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| tools.go | ||