git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3647
91ce42f0-d328-0410-95d8-
f526ca767f89
maxvolfiles => 0,
);
+ my %opt_ss =( # string with space
+ job => 1,
+ storage => 1,
+ );
my %opt_s = ( # default to ''
ach => 1,
status => 1,
gtype => 1,
type => 1,
poolrecycle => 1,
+ replace => 1,
);
my %opt_p = ( # option with path
fileset=> 1,
mtxcmd => 1,
precmd => 1,
device => 1,
+ where => 1,
);
my %opt_d = ( # option with date
if ($value =~ /^([\w\d\.-]+)$/) {
$ret{$i} = $1;
}
-
+ } elsif ($opt_ss{$i}) { # simple string param (with space)
+ my $value = CGI::param($i) || '';
+ if ($value =~ /^([\w\d\.\-\s]+)$/) {
+ $ret{$i} = $1;
+ }
} elsif ($i =~ /^j(\w+)s$/) { # quote join args
my @value = CGI::param($1) ;
if (@value) {