Commit 0f755e69 authored by David Johnson's avatar David Johnson

Fix minor bug in alt vnode ssh path when sanitizing exec shell arg.

parent cc650919
......@@ -3123,7 +3123,7 @@ sub vnodePreConfigControlNetwork($$$$$$$$$$$$)
my $ssh_style = $attributes->{DOCKER_SSH_STYLE};
my $exec_shell = $attributes->{DOCKER_EXEC_SHELL};
if (defined($exec_shell) && $exec_shell =~ /^[\/\w\d\-_]+$/) {
if (defined($exec_shell) && $exec_shell =~ /^([\/\w\d\-_]+)$/) {
$exec_shell = $1;
}
else {
......
Markdown is supported
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