Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
Decode special characters when up-zipping package
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Jan 1, 2022
1 parent 8f8530f commit c3fd1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel/ReleasePackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public static Task ExtractZipForInstall(string zipFilePath, string outFolder, st
var percentage = (currentItem * 100d) / totalItems;
progress((int) percentage);
var parts = reader.Entry.Key.Split('\\', '/');
var parts = reader.Entry.Key.Split('\\', '/').Select(x => Uri.UnescapeDataString(x));
var decoded = String.Join(Path.DirectorySeparatorChar.ToString(), parts);
if (!re.IsMatch(decoded)) continue;
Expand Down

0 comments on commit c3fd1c5

Please sign in to comment.