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

absNormPath "/" "/.." does not remove all dotdots #5

Open
nomeata opened this issue Jun 19, 2011 · 0 comments
Open

absNormPath "/" "/.." does not remove all dotdots #5

nomeata opened this issue Jun 19, 2011 · 0 comments

Comments

@nomeata
Copy link

nomeata commented Jun 19, 2011

Joey reported this issue at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599675 against version 1.1.0.3:

Prelude System.Path> absNormPath "/" "/.."
Just "/.."
Prelude System.Path> absNormPath "/" "/../../"
Just "/"
Prelude System.Path> absNormPath "/" "/../.."
Just "/"
Prelude System.Path> absNormPath "/" "/../../../"
Nothing

I'd expect to get Nothing or "/" for all of these. The documentation
says that it removes all dotdot entries.

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