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

400 when passing whitespace in path args to c.Copy() #42

Closed
mkoci-scala opened this issue Feb 10, 2021 · 0 comments
Closed

400 when passing whitespace in path args to c.Copy() #42

mkoci-scala opened this issue Feb 10, 2021 · 0 comments

Comments

@mkoci-scala
Copy link

Hello Collaborators,

Describe the bug

c.Copy() doesn't handle whitespace characters in file/folder names.

Software

  • OS: ubuntu
  • Golang: 1.15.7
  • Version: latest

To Reproduce

  1. Create a file or folder with whitespace in the name on the remote webdav server.
  2. Make a request with client.Copy with oldpath and newpath being strings with spaces in the name.
  3. 400 Error is returned

Expected
Spaces should be handled.

Additional context
Add any other context about the problem here.

@mkoci-scala mkoci-scala changed the title 400 when passing '%20' in args to c.Copy() 400 when passing whitespace in path args to c.Copy() Feb 10, 2021
@chripo chripo closed this as completed Jan 28, 2022
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