You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems very odd! The bar component is truncated, and //foo/ba is the prefix, followed by a root dir, followed a normal r component.
It seems like the way this path is broken into components on Windows has changed since an old release. I have a path cleaning library, lexiclean, whose CI was passing as of April 20th. It picked up a new release between now and then, and CI is now failing.
The text was updated successfully, but these errors were encountered:
This is indeed a bug. But it's also a bit of an edge case. It's not entirely obvious what the correct behaviour should be as technically speaking it's not a well formed path. The prefix is one place where Windows (sometimes) cares about the number and type of slashes.
Anyway, the old behaviour was:
[RootDir,Normal("foo"),Normal("bar")]
Which is also wrong (it changes the prefix type), but maybe less wrong than it currently is.
This might be a bug, or this might just be me not understanding how Windows UNC paths work.
When I call this:
I get:
This seems very odd! The
bar
component is truncated, and//foo/ba
is the prefix, followed by a root dir, followed a normalr
component.It seems like the way this path is broken into components on Windows has changed since an old release. I have a path cleaning library, lexiclean, whose CI was passing as of April 20th. It picked up a new release between now and then, and CI is now failing.
The text was updated successfully, but these errors were encountered: