Skip to content

Commit

Permalink
Add refer checking to xmlrpc.cgi, while still allowing direct access
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Jun 6, 2015
1 parent 573d39e commit caea0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmlrpc.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit caea0ee

Please sign in to comment.