Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item13449: Don't fail when encountering trigger file
  • Loading branch information
gac410 committed Jun 9, 2015
1 parent 921f6ec commit 113c8f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/lib/Foswiki/Configure/FileUtil.pm
Expand Up @@ -824,6 +824,9 @@ sub _untar {

my @members = $tar->list_files();
foreach my $file (@members) {

#SMELL: Some tarfiles return a trigger for long filenames
next if ( $file eq '././@LongLink' );
my $err = $tar->extract($file);
unless ($err) {
return 'Failed to extract ', $file, ' from tar file ',
Expand Down

0 comments on commit 113c8f6

Please sign in to comment.