mirror of
https://github.com/webmin/webmin.git
synced 2026-05-26 08:00:31 +01:00
Handle . in tar
This commit is contained in:
@@ -438,10 +438,10 @@ else {
|
||||
if (/^[^\/]+\/(\S+)$/) {
|
||||
$hasfile{$1}++;
|
||||
}
|
||||
if (/^(webmin-([0-9\.]+)\/[^\/]+)$/) {
|
||||
if (/^(webmin-([0-9\.]+)\/([^\/]+))$/ && $3 ne ".") {
|
||||
push(@topfiles, $1);
|
||||
}
|
||||
elsif (/^webmin-[0-9\.]+\/([^\/]+)\//) {
|
||||
elsif (/^webmin-[0-9\.]+\/([^\/]+)\// && $1 ne ".") {
|
||||
$intar{$1}++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user