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

Create Archive command not escaping paths #8227

Closed
cyberduck opened this issue Sep 16, 2014 · 3 comments
Closed

Create Archive command not escaping paths #8227

cyberduck opened this issue Sep 16, 2014 · 3 comments

Comments

@cyberduck
Copy link
Collaborator

eea722e created the issue

It would seem that when issuing the "Create Archive..." commands when connected to an SFTP server, the paths are not being escaped.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Paths are escaped with \.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

If I could have re-opened it, I would have commented that I was trying to create an archive of this path:

/Users/administrator/Desktop/Software/Mac OS X/CD Finder/

This failed with an "interoperability failure"

zip error: Nothing to do! (try: zip -qr /Users/administrator/Desktop/Software/Mac OS X/CD Finder.zip . -i CD Finder) bash: line 0: cd: /Users/administrator/Desktop/Software/Mac: No such file or directory

It would seem that the path of the "cd" command wasn't escaped.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Test and fix in 6815d63.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant