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

clean("c:/temp/..") results in "c:", not "c:/" #12

Closed
vivainio opened this issue May 22, 2021 · 1 comment
Closed

clean("c:/temp/..") results in "c:", not "c:/" #12

vivainio opened this issue May 22, 2021 · 1 comment

Comments

@vivainio
Copy link

vivainio commented May 22, 2021

You would expect "c:/temp/.." to be normalized to "c:/", but it results in "c:". "c:" does not mean the root of windows file system, but rather current directory in drive c:.

    let buf = clean("c:/temp/..");
    assert_eq!(buf, "c:");
danreeves added a commit that referenced this issue Feb 24, 2023
@danreeves
Copy link
Owner

fixed in 1353191

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

2 participants