freebsd-nq/libexec/ftpd
Peter Wemm 70825609cf Previous clobbered a work-in-progress. Here is the merged result:
Limit the "pathname" glob to one item, as that is what all users of it
are expecting, except for LIST.

Always glob, instead of when the first character is a ~.  For example,
if you had directories ~/x1, and ~/x2, then "cwd x[1]" would fail, but
"cwd ~/x[1]" would work since it was globbed due to the ~ character.
Also, "cwd ~/x[12]" used to arbitarily work as it used the first
expansion (ie: x1) without an error.  Make it return '550 ambiguous'
instead of '550 not found' so that the user can see the difference.

For LIST, just use the user supplied string as the popen does the glob.

Problem noticed by:  Ajay Mittal <amittal@iprg.nokia.com>
2001-04-17 03:03:45 +00:00
..
extern.h
ftpcmd.y Previous clobbered a work-in-progress. Here is the merged result: 2001-04-17 03:03:45 +00:00
ftpd.8 Document that SITE extensions are disabled for anonymous logins. 2001-04-16 14:51:11 +00:00
ftpd.c Add full PAM support for account management and sessions. 2001-03-27 19:40:51 +00:00
logwtmp.c
Makefile Add full PAM support for account management and sessions. 2001-03-27 19:40:51 +00:00
pathnames.h
popen.c Teach ftpd about the new GLOB_MAXPATH flag. 2001-03-19 19:11:00 +00:00
skey-stuff.c