Files
webmin/mailboxes/xhr.cgi
Ilia Ross 1ca52c9a97 Add ACL controls for URL download destinations
Block non-public HTTP, HTTPS and FTP destinations by default in File Manager, Mailboxes and Upload and Download, with per-user IP/CIDR exceptions, redirect and proxy protection, cache isolation, and current-ACL enforcement for scheduled jobs.
2026-07-12 14:57:08 +02:00

17 lines
296 B
Perl
Executable File

#!/usr/local/bin/perl
# A caller for loading XHR related routines
use strict;
our ($root_directory, %access);
BEGIN { push(@INC, "."); };
use WebminCore;
&init_config();
&ReadParse();
%access = &get_module_acl();
&webmin_user_is_admin() or &switch_to_remote_user();
do "./xhr-lib.pl";
xhr();