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

WebdavFileSystem functions not escaping special characters #200

Open
code1997 opened this issue Oct 16, 2024 · 0 comments
Open

WebdavFileSystem functions not escaping special characters #200

code1997 opened this issue Oct 16, 2024 · 0 comments

Comments

@code1997
Copy link

Hi there,

webdav4 keeps crashing if the file path contains certain special characters.
Examples would be:

  • A folder with a whitespace at the end of the foldername - 'Example '.
  • A folder or file containing #, or % in the name - 'Zimmer #309'

The issue is missing url quotation. Calling urllib.parse.quote() on the path variable fixes the issue.

I think that this should be builtin, as the function does not provide url encoded names, but requires them.
If you do not want to built it in, this should at least be documented.

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