projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b928457
)
Extract correct file
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 30 Sep 2008 00:32:04 +0000
(
00:32
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 30 Sep 2008 00:32:04 +0000
(
00:32
+0000)
file/extract.cgi
patch
|
blob
|
history
diff --git
a/file/extract.cgi
b/file/extract.cgi
index
5570bb3
..
d78aa9e
100755
(executable)
--- a/
file/extract.cgi
+++ b/
file/extract.cgi
@@
-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";