mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Extract correct file
This commit is contained in:
@@ -16,6 +16,6 @@ if (!&can_access($in{'file'})) {
|
||||
&webmin_log("extract", undef, $in{'file'});
|
||||
$realfile = &unmake_chroot($in{'file'});
|
||||
&switch_acl_uid();
|
||||
$err = &extract_archive($in{'file'}, $in{'delete'});
|
||||
$err = &extract_archive($realfile, $in{'delete'});
|
||||
print $err,"\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user