1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2025-12-18 14:47:03 +00:00

hooks: Add mising quote in the example post-data hook

The example post-data hook was missing a quote around a sub-shell
execution.

This is harmless because the content itself is admin-provided and not
related to user input, but this commit fixes the quote for defense in
depth and consistency.
This commit is contained in:
Alberto Bertogli
2020-02-02 02:07:38 +00:00
parent 0df2e325ed
commit a1ca50ab57

View File

@@ -86,7 +86,7 @@ if [ "$AUTH_AS" != "" ] && command -v dkimsign; then
&& [ -f "certs/$DOMAIN/dkim_privkey.pem" ]; then
dkimsign -n -hd \
-key "certs/$DOMAIN/dkim_privkey.pem" \
-s $(cat "domains/$DOMAIN/dkim_selector") \
-s "$(cat "domains/$DOMAIN/dkim_selector")" \
-d "$DOMAIN" \
< "$TF"
fi