isValid "\\\\?\\UNC\\"
Open
- Dominant language
- Haskell
- Stars
- 74
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
```haskell
> System.FilePath.Windows.isValid "\\\\?\\UNC\\"
True
> putStrLn "\\\\?\\UNC\\"
\\?\UNC\
```
I think this is wrong: `\\?\UNC\` is incomplete, it is nether file nor folder name.
https://github.com/haskell/filepath/blob/98f8bba9eac8c7183143d290d319be7df76c258b/System/FilePath/Internal.hs#L1065-L1067
If we are in agreement that `isValid` should return `False` on this input, there is a harder question ahead. What should be the output of `makeValid`? Something like `\\?\UNC\_\_`?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.