bugzilla-daemon at mindrot.org
2006-Sep-16 11:50 UTC
[Bug 1230] filename escaping of brackets in sftp
http://bugzilla.mindrot.org/show_bug.cgi?id=1230 Summary: filename escaping of brackets in sftp Product: Portable OpenSSH Version: 4.3p2 Platform: PPC OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: bitbucket at mindrot.org ReportedBy: duncan2nd at gmx.de ist's impossible to escape a filename that contains brackets ([]) with quotes for the put command. Steps to Reproduce: 1. create a file with filename: [eztv] 2. try to upload with sftp put Actual Results: sftp> lls [eztv] sftp> put '[eztv]' File "[eztv]" not found. sftp> put "[eztv]" File "[eztv]" not found. sftp> put [eztv] File "[eztv]" not found. sftp> put \[eztv\] Uploading [eztv] to /private/tmp/[eztv] [eztv] 100% 4 0.0KB/s 00:00 sftp> put \[abcdefg\] File "\\[abcdefg\\]" not found. Expected Results: the first 3 commands should work and react the same way the 4. command may work?? the 5. command may emit: File "[abcdefg]" not found. Occurs on: - OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005 Mac OS X 10.4.7 (PowerPC) - OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005 Linux octopus 2.6.17-1.2157_FC5smp #1 SMP Tue Jul 11 23:24:16 EDT 2006 i686 i686 i386 GNU/Linux - OpenSSH_4.3p2, OpenSSL 0.9.7i 14 Oct 2005 Mac OS X 10.4.7 (PowerPC) Additional information: - It seems to be impossible to use a filename that contains brackets AND spaces e.g. [ez tv] - this bug is relevant, because some guis use sftp. e.g. Fugu 1.2.0 http://rsug.itd.umich.edu/software/fugu/ ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
Reasonably Related Threads
- [Bug 1230] filename escaping of brackets in sftp
- Fwd: Issue starting unicorn with non-ActiveRecord Rails app
- [Bug 1213] ssh-keyscan exits in mid-way
- groups issue with openssh (all versions since at least 3.8), AIX 5.3 and NIS
- favorite FTP client of railers