You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
TwizzyDizzy
changed the title
Module breaks
Module breaks with certain root_passwords due to not being shell-escaped
Jul 25, 2023
TwizzyDizzy
changed the title
Module breaks with certain root_passwords due to not being shell-escaped
Module breaks with certain "root_password"s due to not being shell-escaped
Jul 25, 2023
Hi folks,
it seems as though the module breaks, when the password is used with a
$root_password
that contains shell-relevant characters.Consider this password:
hu7eithei4kaeeke@C;om
puppet-galera/manifests/init.pp
Lines 551 to 560 in b319c97
Line 555 leads to:
Obviously this cuts off after the
;
and tries to execute the rest of the string in the shell context.It's probably wise to use stdlib shell_escape.
Shall I prepare a merge request for that?
Cheers
Thomas
The text was updated successfully, but these errors were encountered: