mirror of
https://github.com/webmin/webmin.git
synced 2026-08-09 01:00:40 +01:00
Also disallow untrusted referers when using the perl install script
This commit is contained in:
1
setup.pl
1
setup.pl
@@ -227,6 +227,7 @@ else {
|
||||
$gconfig{'os_version'} = $os_version;
|
||||
$gconfig{'real_os_type'} = $real_os_type;
|
||||
$gconfig{'real_os_version'} = $real_os_version;
|
||||
$gconfig{'referers_none'} = 1;
|
||||
$path_separator = $gconfig{'os_type'} eq 'windows' ? ';' : ':';
|
||||
$null_file = $gconfig{'os_type'} eq 'windows' ? "NUL" : "/dev/null";
|
||||
unlink($temp);
|
||||
|
||||
Reference in New Issue
Block a user