Skip to content

Commit

Permalink
fix: Canonicalize output path to avoid false negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
Pr0methean committed Mar 3, 2025
1 parent d0f2956 commit 854f350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/read/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ impl<R: Read> ZipStreamReader<R> {
}
}

self.visit(&mut Extractor(directory.as_ref()))
self.visit(&mut Extractor(Box::new(directory.as_ref().canonicalize()?).as_path()))
}
}

Expand Down

0 comments on commit 854f350

Please sign in to comment.