Skip to content

Commit

Permalink
Update Unzip.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Jud committed Jul 28, 2015
1 parent 2f74e60 commit 63c34f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/VIPSoft/Unzip/Unzip.php
Expand Up @@ -141,7 +141,8 @@ private function extractFilename(\ZipArchive $zipArchive, $fileIndex)
return $filename;
}

throw new \Exception('Invalid filename path in zip archive');
# Instead of throwing an exception, just ignore the file that is bad
#throw new \Exception('Invalid filename path in zip archive');
}

/**
Expand Down

0 comments on commit 63c34f9

Please sign in to comment.