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

Allow multiple consecutive slashes in paths (but see discussion) #43

Conversation

Property404
Copy link
Contributor

Partially addresses #42

Discussion:
So, I'm unsure of how a slash at the end should be handled. On one hand, it seems weird that you can refer to a file like dir/file.txt/, but you can already do dir/file.txt/.

Both seem a bit weird, I don't know how you would solve that. I guess for consistencies sake, you should allow both

Thoughts?

@manuel-woelker
Copy link
Owner

Not sure, AFAICT there doesn't seem to be a clear way on how other tools to handle this.

For now I think disallowing a trailing "/" is the safe approach.

@manuel-woelker manuel-woelker merged commit 18deae2 into manuel-woelker:master Dec 6, 2022
@manuel-woelker
Copy link
Owner

LGTM - thank you!

@Property404 Property404 deleted the Property404/multiple-slashes branch December 18, 2022 18:03
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

Successfully merging this pull request may close these issues.

2 participants