mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Escaping filename.
This commit is contained in:
@@ -118,7 +118,7 @@ else {
|
||||
# Use a user-specified file
|
||||
$f = $in{'file'};
|
||||
}
|
||||
-r $f || open(FILE, ">>$f") || &error(&text('cvirt_efile', $f, $!));
|
||||
-r $f || open(FILE, ">>$f") || &error(&text('cvirt_efile', &html_escape($f), $!));
|
||||
close(FILE);
|
||||
|
||||
&lock_apache_files();
|
||||
|
||||
Reference in New Issue
Block a user