Bugzilla – Attachment 3440 Details for
Bug 3069
sftp issues with [ or ] in path name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Retry unglobbed filename on get remote_glob failure
bz3069.diff (text/plain), 492 bytes, created by
Damien Miller
on 2020-08-07 14:25:55 AEST
(
hide
)
Description:
Retry unglobbed filename on get remote_glob failure
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2020-08-07 14:25:55 AEST
Size:
492 bytes
patch
obsolete
>diff --git a/sftp.c b/sftp.c >index c88c86118..aaea1a9ad 100644 >--- a/sftp.c >+++ b/sftp.c >@@ -656,7 +656,8 @@ process_get(struct sftp_conn *conn, const char *src, const char *dst, > memset(&g, 0, sizeof(g)); > > debug3("Looking up %s", abs_src); >- if ((r = remote_glob(conn, abs_src, GLOB_MARK, NULL, &g)) != 0) { >+ if ((r = remote_glob(conn, abs_src, GLOB_NOCHECK|GLOB_MARK, >+ NULL, &g)) != 0) { > if (r == GLOB_NOSPACE) { > error("Too many matches for \"%s\".", abs_src); > } else {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 3069
: 3440