Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After switching to std::filesystem, Decode("?foo\\bar.txt") would resolve to C:\bar.txt on Windows, since joining a path starting with a backslash will remove any relative path from the left-hand side. Fix this by stripping a leading backslash on Windows just like a leading forward slash is stripped.
- Loading branch information