winbench / bench

Portable Software Environment for Windows
https://winbench.org
MIT License
20 stars 3 forks source link

Handling URL encoded filenames #135

Closed mastersign closed 5 years ago

mastersign commented 5 years ago

In the PAF archive of SonicPI are files with URL encoded names like %2-i.ri. Since v0.19.0, after fixing #122, the filenames are decoded unintentionally when handled by Mastersign.Bench.FileSystem.

mastersign commented 5 years ago

path = new Uri(path).LocalPath in FileSystem.NormalizePath(string path) is responsible for decoding filenames unintentionally