[Bug 3069] sftp issues with [ or ] in path name
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Aug 7 14:25:55 AEST 2020
https://bugzilla.mindrot.org/show_bug.cgi?id=3069
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djm at mindrot.org,
| |dtucker at dtucker.net
Attachment #3440| |ok?(dtucker at dtucker.net)
Flags| |
--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3440
--> https://bugzilla.mindrot.org/attachment.cgi?id=3440&action=edit
Retry unglobbed filename on get remote_glob failure
I think this should fix it.
Filenames for sftp get commands are processed using remote_glob() to
wildcard-expand them. In this case it was interpreting and eating the
special characters.
This patch makes the remote_glob() call return the original, unmodified
filename when expansion fails. Pretty much every other remote_glob()
call in the sftp client already does this for precisely this reason.
--
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