Skip to content

Commit dbda102

Browse files
committed
Add TODO comment for future action.
1 parent e6a8078 commit dbda102

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Zip/FastZip.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ public void ExtractZip(string zipFileName, string targetDirectory,
439439
ZipEntry entry = (ZipEntry) enumerator.Current;
440440
if ( entry.IsFile )
441441
{
442+
// TODO Path.GetDirectory can fail here on invalid characters.
442443
if ( directoryFilter_.IsMatch(Path.GetDirectoryName(entry.Name)) && fileFilter_.IsMatch(entry.Name) ) {
443444
ExtractEntry(entry);
444445
}

0 commit comments

Comments
 (0)