Bugzilla – Attachment 2255 Details for
Bug 2098
sftp doesn't handle '#' within filenames for transfer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow hash('#') character in filename patch.
openssh-sftp-hash-in-filename.patch (text/plain), 460 bytes, created by
Greg Shively
on 2013-05-08 01:34:04 AEST
(
hide
)
Description:
Allow hash('#') character in filename patch.
Filename:
MIME Type:
Creator:
Greg Shively
Created:
2013-05-08 01:34:04 AEST
Size:
460 bytes
patch
obsolete
>diff -Naur openssh-5.8p2.ORIG/sftp.c openssh-5.8p2/sftp.c >--- openssh-5.8p2.ORIG/sftp.c 2010-12-04 17:02:48.000000000 -0500 >+++ openssh-5.8p2/sftp.c 2013-05-07 10:23:24.000000000 -0400 >@@ -1063,7 +1063,8 @@ > } > } > } else if (arg[i] == '#') { >- if (state == MA_SQUOTE || state == MA_DQUOTE) >+ if (state == MA_SQUOTE || state == MA_DQUOTE >+ || state == MA_UNQUOTED) > argvs[j++] = arg[i]; > else > goto string_done;
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 2098
: 2255