Cyberduck Mountain Duck CLI

#8227 closed defect (fixed)

Create Archive command not escaping paths

Reported by: dafacto Owned by:
Priority: normal Milestone: 4.6
Component: core Version: 4.5.2
Severity: normal Keywords:
Cc: Architecture:


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

Change History (3)

comment:1 Changed on Sep 16, 2014 at 8:24:10 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

Paths are escaped with \.

comment:2 Changed on Sep 16, 2014 at 8:52:04 PM by dkocher

  • Milestone set to 4.5.3
  • Resolution worksforme deleted
  • Status changed from closed to reopened

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

comment:3 Changed on Sep 17, 2014 at 2:51:53 PM by dkocher

  • Resolution set to fixed
  • Status changed from reopened to closed

Test and fix in r15155.

Note: See TracTickets for help on using tickets.