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

Extract Archive error when parentheses are in filename #7004

Closed
cyberduck opened this issue Dec 16, 2012 · 2 comments
Closed

Extract Archive error when parentheses are in filename #7004

cyberduck opened this issue Dec 16, 2012 · 2 comments
Assignees
Labels
bug fixed sftp SFTP Protocol Implementation
Milestone

Comments

@cyberduck
Copy link
Collaborator

49820db created the issue

It appears that the extraction function currently doesn't escape parentheses from the command that is run when extracting a file.

If the file is on a server abc.zip, extract command will work.

If the file is on a server named 'abc(1).zip', the extract will fail as the command that is being run on the remote server encounters the parentheses and thinks it is another command token.

Recommended Fix: Escape all characters from filenames prior to executing the extract command on remote servers.

Temporary workaround: Rename the filename on the server to exclude any parentheses or other *nix characters which require escaping.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

Currently only whitespace is escaped.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

In baa7e7c.

@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.
Labels
bug fixed sftp SFTP Protocol Implementation
Projects
None yet
Development

No branches or pull requests

2 participants