basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.92k stars 534 forks source link

Riak script uses $* not "$@" #1149

Open martinsumner opened 1 month ago

martinsumner commented 1 month ago

When the Riak script attempts to forward its args to the relx_riak script, it uses unquoted $* which will potentially mangle any args with a space and split then into multiple args. "$@" should be used instead - https://stackoverflow.com/questions/4824590/propagate-all-arguments-in-a-bash-shell-script/4824637#4824637

Otherwise there are issues if you create bucket types where there is whitespace within the json.

martinsumner commented 1 month ago

https://github.com/nhs-riak/riak/pull/6