mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
[critical] new call syntax regression breaks hook.sh deploy_challenge and probably clean_challenge #554
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @struanb on GitHub (Nov 2, 2021).
I'm experiencing a regression in master branch, probably caused by commit
e963438c5a5d58ce3f997eef1e8e25f3cb4238d8(make shellcheck happy again), specifically the following lines:The result of the change appears to be that instead of the hook.sh
deploy_challengebeing passed three arguments (the expanded${deploy_args[${idx}]}), it is now passed one argument ("${deploy_args[${idx}]}", which expands to a string consisting of the three arguments joined by spaces).I suspect the modified call to the hook for
clean_challengeis also broken in the same way.To reproduce the issue, just run dehydrated with a stock hook.
@lukas2511 commented on GitHub (Nov 2, 2021):
Mh... interesting...
@lukas2511 commented on GitHub (Nov 2, 2021):
Ah... i see what my mistake was... sorry for that... Should be fully reverted now.