bugzilla-daemon at mindrot.org
2003-Dec-21 03:06 UTC
[Bug 778] sftp client globs entire path, directories enclosed in square brackets are unusable
http://bugzilla.mindrot.org/show_bug.cgi?id=778 Summary: sftp client globs entire path, directories enclosed in square brackets are unusable Product: Portable OpenSSH Version: -current Platform: ix86 OS/Version: Linux Status: NEW Severity: minor Priority: P4 Component: sftp AssignedTo: openssh-bugs at mindrot.org ReportedBy: vdr781 at yahoo.com sftp client uses glob() to glob the absolute path + relative path. In the scenario where the current working directory is something like "/tmp/ [testdir]", and you try to retrieve a file "testfile.txt" from that directory doing a get "testfile.txt" or mget "testfile.txt" then sftp client prepends the cwd and the arguments to get and then passes them to a globbing routine. Making it difficult to retrieve files from a directory enclosed in square brackets. sftp should probably not glob at all when using get/put, and only glob the arguments to mget/mput <not the current working directory>. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.