mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-09 01:52:32 +02:00
v3.1.1
- (Add) Raft relief: Tabs type - Creates tabs around the raft to easily insert a tool under it and detach the raft from build plate - (Add) Linux AppImage binaries (You won't get them with auto-update, please download AppImage once before can use auto-update feature in the future) - (Change) Rename "layer compression method" to "layer compression codec", please redefine the codec setting if you changed before - (Improvement) Linux and macOS releases are now compiled, published and packed under Linux (WSL). Windows release still and must be published under windows.
This commit is contained in:
@@ -103,7 +103,7 @@ public static class ZipArchiveExtensions
|
||||
{
|
||||
//Gets the complete path for the destination file, including any
|
||||
//relative paths that were in the zip file
|
||||
var destFileName = Path.Combine(destinationPath, file.FullName);
|
||||
var destFileName = Path.GetFullPath(Path.Combine(destinationPath, file.FullName));
|
||||
var fullDestDirPath = Path.GetFullPath(destinationPath + Path.DirectorySeparatorChar);
|
||||
if (!destFileName.StartsWith(fullDestDirPath)) return; // Entry is outside the target dir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user