Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canonical does not support device UNC path #171

Open
forworldm opened this issue Aug 19, 2023 · 1 comment
Open

canonical does not support device UNC path #171

forworldm opened this issue Aug 19, 2023 · 1 comment
Assignees
Labels
bug Something isn't working Windows Windows platform is affected

Comments

@forworldm
Copy link

Describe the bug
canonical("//./UNC/localhost/c$/foo") throws exception

To Reproduce
See above

Expected behavior
MSVC STL gives \\localhost\c$\foo

Additional context
OS Windows

maybe use GetFinalPathNameByHandleW

@gulrak gulrak self-assigned this Aug 21, 2023
@gulrak gulrak added bug Something isn't working Windows Windows platform is affected labels Aug 21, 2023
@gulrak
Copy link
Owner

gulrak commented Aug 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Windows Windows platform is affected
Projects
None yet
Development

No branches or pull requests

2 participants