Verified Commit b66b731d authored by peter.oettig's avatar peter.oettig
Browse files

Added double dash to end flag interpretation

This fixes that ACME challenges starting with a hyphen (-) would be interpreted by the hook script as flag.

https://community.letsencrypt.org/t/challenge-file-name-should-not-start-with-dash/3860
parent 5b25985f
Pipeline #238356 passed with stages
in 1 minute and 46 seconds
......@@ -18,4 +18,4 @@ if [ -z "$DOMAIN" ] || [[ -r "$TOKEN_DIR/$DOMAIN" ]]; then
export NETDB_API_TOKEN=$token
fi
$HOOK "$@"
\ No newline at end of file
$HOOK -- "$@"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment