mirror of
https://github.com/webmin/webmin.git
synced 2026-09-15 18:10:39 +01:00
Make sure param values are quoted
This commit is contained in:
@@ -481,7 +481,7 @@ foreach my $a (@{$cmd->{'args'}}) {
|
||||
&error(&text('run_emust', $a->{'desc'}));
|
||||
}
|
||||
$ENV{$n} = $rv;
|
||||
$env .= "$n='$rv'\n";
|
||||
$env .= "$n=".quotemeta($rv)."\n";
|
||||
$export .= " $n";
|
||||
if ($a->{'quote'}) {
|
||||
$str =~ s/\$$n/"\$$n"/g;
|
||||
|
||||
Reference in New Issue
Block a user