https://bugs.contribs.org/show_bug.cgi?id=10373
--- Comment #7 from Jean-Philippe Pialasse <te...@pialasse.com> ---
I guess this could be somewhere there :
sub getJobConfig( $ ) {
my $jobname = shift||'';
my %job=getDefaultConfig();
if( not -f $configfile ) {
my @cfgfiles=getConfigFileList(); # only valid ones
my
@cmd=('echo','-n','>',$configfile,';','chmod','400',$configfile,';','cat');
foreach my $s (@cfgfiles) {
#################### add here some sanitization of the config files content
#################### or simply add a blank line between each files
push(@cmd, $s);
}
push(@cmd,'>');
push(@cmd, $configfile);
ExecCmd( @cmd, 0 );
$cfg = Config::IniFiles->new( -file => $configfile, -default =>
'GlobalAffaConfig', -nocase => 0);
}
could also be done in configcheck...
--
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail contribteam-unsubscr...@lists.contribs.org
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/