-
Notifications
You must be signed in to change notification settings - Fork 32
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
Path prefixed by \\.\
is not normalised on Windows
#247
Comments
I can confirm the same works with
Probably because of this:
|
Those behaviors are a little inconsistent.
But the latter has an interesting property: https://learn.microsoft.com/en-us/dotnet/standard/io/file-path-formats#skip-normalization But as the windows api documentation says, they're still normalized when passed to But it would be kind of a breaking change. Sometimes people rely on "bugs". Is this a bug? It's debatable. |
My preference would be to treat both the same. I think at the very least this behavior should be documented in the examples. It is counterintuitive. |
well, the thing is that it only behaves so by accident and the code doesn't really ensure this properly... so I find it hard to document it, given it's kinda a quirk I haven't made up my mind yet what the best solution is. |
@Mistuke any opinions? |
I don't see this in the haddocks, is it expected?
The text was updated successfully, but these errors were encountered: