mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Add refer checking to xmlrpc.cgi, while still allowing direct access
This commit is contained in:
@@ -20,7 +20,7 @@ use WebminCore;
|
||||
use POSIX;
|
||||
use Socket;
|
||||
$force_lang = $default_lang;
|
||||
$trust_unknown_referers = 1;
|
||||
$trust_unknown_referers = 2; # Only trust if referer was not set
|
||||
&init_config();
|
||||
$main::error_must_die = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user