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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user