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

Unix path trailing slashes #52

Open
CMCDragonkai opened this issue May 23, 2017 · 1 comment
Open

Unix path trailing slashes #52

CMCDragonkai opened this issue May 23, 2017 · 1 comment

Comments

@CMCDragonkai
Copy link

It seems that a path like /unix/a/b/c/ is interpreted as /unix/a/b/c. Does this mean we cannot represent directory paths in multiaddr?

@CMCDragonkai
Copy link
Author

If we can have directories, then the trailing slashes cannot be all trimmed immediately before parsing, as we must allow leaving 1 trailing /. But more than 1 / gets trimmed all to just one /.

Stebalien pushed a commit that referenced this issue May 20, 2020
README: remove out of date captain
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