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

fix: handling path containing url unicode chars #312

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mateuszkuprowski
Copy link
Contributor

This fix should allow fsspec connector to correctly handle paths containing whitespace and other url like characters like: %20.
Also slightly improved error logging for debug purposes.

Comment on lines +15 to +21
@pytest.mark.parametrize(
("remote_url", "expected_path"),
[
("dropbox://da ta", "da ta"),
("dropbox://da%20ta", "da ta"),
],
)
Copy link
Contributor

@mpolomdeepsense mpolomdeepsense Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if my dropbox folder is named "a%20b" (literal name, not encoded)? Will it return a%20b or a b?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is complete and ready for a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants