mirror of
https://github.com/curl/curl.git
synced 2026-08-25 19:23:32 +03:00
sendf: fix CRLF conversion of input
When CRLF line end conversion was enabled (--crlf), input after the last newline in the upload buffer was not sent, if the buffer contained a newline. Reported-by: vuonganh1993 on github Fixes #14165 Closes #14169
This commit is contained in:
parent
6f0a8bd43c
commit
9e5b11c659
4 changed files with 12 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ converted
|
|||
with
|
||||
the
|
||||
--crlf option
|
||||
%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789%0a]%
|
||||
</file>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -T %LOGDIR/upload%TESTNUMBER --crlf
|
||||
|
|
@ -60,6 +61,7 @@ converted
|
|||
with
|
||||
the
|
||||
--crlf option
|
||||
%repeat[650 x 0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
%0a]%
|
||||
.
|
||||
</upload>
|
||||
</verify>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue