mirror of
https://github.com/mtheall/ftpd.git
synced 2024-11-27 03:30:29 +00:00
Put a space between command and arguments for invalid command
This commit is contained in:
parent
81ec2ea8e4
commit
a3f17e9eed
@ -1251,6 +1251,8 @@ ftp_session_read_command(ftp_session_t *session,
|
||||
/* send args (if any) */
|
||||
if(*args != 0)
|
||||
{
|
||||
ftp_send_response_buffer(session, " ", 1);
|
||||
|
||||
len = strlen(args);
|
||||
buffer = encode_path(args, &len, false);
|
||||
if(buffer != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user