[Bug 3069] sftp issues with [ or ] in path name

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Nov 14 07:20:27 AEDT 2022


https://bugzilla.mindrot.org/show_bug.cgi?id=3069

Colin Watson <cjwatson at debian.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cjwatson at debian.org

--- Comment #4 from Colin Watson <cjwatson at debian.org> ---
I wondered whether this change from the OpenSSH 9.1/9.1p1 release notes
might relate to this bug:

 * sftp(1), scp(1): when performing operations that glob(3) a remote
   path, ensure that the implicit working directory used to construct
   that path escapes glob(3) characters. This prevents glob characters
   from being processed in places they shouldn't, e.g. "cd /tmp/a*/",
   "get *.txt" should have the get operation treat the path "/tmp/a*"
   literally and not attempt to expand it.

It doesn't seem to have used the same patch as Damien posted here in
2020, but nevertheless the bug seems to be fixed: I can no longer
reproduce it using Andreas's procedure.  Should this be closed?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list