ftp: include command in Curl_ftpsend sendbuffer
Commit 8238ba9c inadvertently removed the actual command to be sent from the send buffer in a refactoring. Add back copying the command into the buffer. Also add more guards against malformed input while at it. Closes #2985 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Please register or sign in to comment