mirror of
https://github.com/webmin/webmin.git
synced 2026-09-30 17:30:38 +01:00
Don't create files with * in the name https://github.com/webmin/webmin/issues/935
This commit is contained in:
@@ -354,6 +354,7 @@ return ($?, $out);
|
||||
sub get_add_file
|
||||
{
|
||||
local ($filename) = @_;
|
||||
$filename =~ s/\*/ALL/g;
|
||||
if ($config{'add_file'} && -d $config{'add_file'} && $filename) {
|
||||
# Adding to a new file in a directory
|
||||
return "$config{'add_file'}/$filename.conf";
|
||||
|
||||
Reference in New Issue
Block a user