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

UNC paths fail in FileSystem functions #20

Open
sourada opened this issue May 4, 2015 · 0 comments
Open

UNC paths fail in FileSystem functions #20

sourada opened this issue May 4, 2015 · 0 comments

Comments

@sourada
Copy link
Contributor

sourada commented May 4, 2015

Due to the fact that the convertToUnixPath function turns double slash or backslash into single, UNC paths like \foo\bar will be corrupted by any functions that use convertToUnixPath. This is called in a lots of places, including directoryInfoList, where it caused me problems.

I have the feeling that convertToUnixPath probably shouldn't be called so much on Windows. convertToWindowsPath has the same problem, by the looks of it, though.

A workaround is to remove the lines that do the slash-reduction, since really, that's not very necessary anyway. The OS will deal with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant