fix: quote LuaRocks command arguments #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "harden/shell-command-args"
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?
Problem
The publisher builds LuaRocks and shell commands by concatenating dynamic inputs. That is too fragile for a reusable public action because repository names, paths, verification servers, and extra LuaRocks args should be treated as argv values instead of shell text.
Solution
Add central shell argument quoting helpers, build LuaRocks commands from argv-style lists, keep LUAROCKS_API_KEY expanded from the environment without printing its value, use temporary files for command capture, and document the newline-separated extra_luarocks_args contract.
Verification
b0f529a00eto07ae4c4e1907ae4c4e195014cb887f