Open forworldm opened 10 months ago
Describe the bug canonical("//./UNC/localhost/c$/foo") throws exception
canonical("//./UNC/localhost/c$/foo")
To Reproduce See above
Expected behavior MSVC STL gives \\localhost\c$\foo
\\localhost\c$\foo
Additional context OS Windows
maybe use GetFinalPathNameByHandleW
GetFinalPathNameByHandleW
I'll look into that. As I'm at a conference in a few days, it might take me until after it to fix it, at least there can not be a release before I'm back.
Describe the bug
canonical("//./UNC/localhost/c$/foo")
throws exceptionTo Reproduce See above
Expected behavior MSVC STL gives
\\localhost\c$\foo
Additional context OS Windows
maybe use
GetFinalPathNameByHandleW