mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Re-enable referrer checking for safety
This commit is contained in:
@@ -5,10 +5,7 @@ use warnings;
|
||||
|
||||
BEGIN { push(@INC, ".."); };
|
||||
use WebminCore;
|
||||
|
||||
# Since this script is run on every keypress, init_config is intentionally
|
||||
# not called to reduce startup time.
|
||||
#&init_config();
|
||||
&init_config();
|
||||
|
||||
# Parse out port
|
||||
$ENV{'PATH_INFO'} =~ /^\/(\d+)(.*)$/ ||
|
||||
|
||||
Reference in New Issue
Block a user