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

@cyberduck cyberduck commented Sep 16, 2014

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

@cyberduck cyberduck commented Sep 16, 2014

@dkocher commented

Paths are escaped with \.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Sep 16, 2014

@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.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Sep 17, 2014

@dkocher commented

Test and fix in 6815d63.

Loading

@cyberduck cyberduck closed this Sep 17, 2014
@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant