Bugzilla – Attachment 1085 Details for
Bug 1164
scp with spaces username no longer works
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow spaces in scp usernames
openssh-scp-space.patch (text/plain), 881 bytes, created by
Darren Tucker
on 2006-02-26 16:04:43 AEDT
(
hide
)
Description:
Allow spaces in scp usernames
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2006-02-26 16:04:43 AEDT
Size:
881 bytes
patch
obsolete
>Index: scp.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/scp.c,v >retrieving revision 1.135 >diff -u -p -r1.135 scp.c >--- scp.c 2006/02/22 00:04:44 1.135 >+++ scp.c 2006/02/26 05:00:31 >@@ -435,11 +435,6 @@ toremote(char *targ, int argc, char **ar > tuser = NULL; > } > >- if (tuser != NULL && !okname(tuser)) { >- xfree(arg); >- return; >- } >- > for (i = 0; i < argc - 1; i++) { > src = colon(argv[i]); > if (src) { /* remote to remote */ >@@ -464,6 +459,8 @@ toremote(char *targ, int argc, char **ar > suser = pwd->pw_name; > else if (!okname(suser)) > continue; >+ if (tuser != NULL && !okname(tuser)) >+ continue; > addargs(&alist, "-l"); > addargs(&alist, "%s", suser); > } else { >@@ -493,6 +490,7 @@ toremote(char *targ, int argc, char **ar > source(1, argv + i); > } > } >+ xfree(arg); > } > > void
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:
djm
:
ok-
Actions:
View
|
Diff
Attachments on
bug 1164
:
1085
|
3534