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.
|
||
|---|---|---|
| .. | ||
| aftercompletion.adoc | ||
| oncalendar.adoc | ||
| oncron.adoc | ||
| ondemand.adoc | ||
| onfilechanged.adoc | ||
| onfilecreated.adoc | ||
| onstartup.adoc | ||
| onwebhook.adoc | ||
| onwebhook_github.adoc | ||
| shellvsexec.adoc | ||
| triggers.adoc | ||