Bugzilla – Attachment 1291 Details for
Bug 778
sftp client globs entire path, directories enclosed in square brackets are unusable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Permit escaping of glob characters
sftpescape.diff (text/plain), 616 bytes, created by
Damien Miller
on 2007-05-18 17:37:21 AEST
(
hide
)
Description:
Permit escaping of glob characters
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2007-05-18 17:37:21 AEST
Size:
616 bytes
patch
obsolete
>Index: sftp.c >=================================================================== >RCS file: /var/cvs/openssh/sftp.c,v >retrieving revision 1.102 >diff -u -p -r1.102 sftp.c >--- sftp.c 5 Jan 2007 05:30:41 -0000 1.102 >+++ sftp.c 18 May 2007 07:35:12 -0000 >@@ -454,11 +454,8 @@ get_pathname(const char **cpp, char **pa > if (cp[i] == '\\') { /* Escaped characters */ > i++; > if (cp[i] != '\'' && cp[i] != '\"' && >- cp[i] != '\\') { >- error("Bad escaped character '\\%c'", >- cp[i]); >- goto fail; >- } >+ cp[i] != '\\') >+ (*path)[j++] = '\\'; > } > (*path)[j++] = cp[i]; > }
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
Actions:
View
|
Diff
Attachments on
bug 778
:
1284
|
1291
|
1295
|
1357
|
1358