Put a space between command and arguments for invalid command

This commit is contained in:
Michael Theall 2016-06-19 21:44:05 -05:00
parent 81ec2ea8e4
commit a3f17e9eed

View File

@ -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)