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

joinpath strips out path information when a parameter contains leading slash #124

Closed
omus opened this issue Aug 5, 2021 · 2 comments
Closed

Comments

@omus
Copy link
Contributor

omus commented Aug 5, 2021

julia> joinpath("s3://", "a", "b")
"s3://a/b"

julia> joinpath("s3://", "a", "/b")
"/b"
@omus
Copy link
Contributor Author

omus commented Aug 5, 2021

Whoops, I didn't realize this was a Base.Filesystem behaviour

@omus omus closed this as completed Aug 5, 2021
@rofinn
Copy link
Owner

rofinn commented Nov 24, 2021

I actually think we might still want to drop this behaviour since it's unintuitive (IMHO) and introduces some weird type instabilities that make it even harder to reason about what joinpath is doing.

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