Mailing List Archive

[Bug 3069] sftp issues with [ or ] in path name
https://bugzilla.mindrot.org/show_bug.cgi?id=3069

Colin Watson <cjwatson@debian.org> changed:

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

--- Comment #4 from Colin Watson <cjwatson@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs