cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug in libcurl for rev 7.40.0

From: Ray Satiro via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 21 Feb 2015 19:05:06 -0500

On 2/21/2015 5:58 PM, Tom Martin wrote:
> I found a bug in libcurl, one that can be demonstrated with the
> docs/examples/smtp-tls.c code.
>
[...]
>
> I compiled and ran it, and got the following received email:
>
> 'The body of the message starts here\r\n
> .\r\n
> It could be a lot of lines, could be MIME encoded, whatever\r\n
> .Check RFC5322\r\n
> .\r\n
> '\r\n
>
> Notice how the periods get moved to the following lines.
>
> If I then replace the periods in question to ';' or '-', they stay on
> the lines
> correctly, and don't move to the following lines.

I tried that in Windows 7 x64 libcurl 600ccb2 2015-02-05 and Ubuntu
14.04 x64 libcurl 7.41.0-DEV 05792d6 2015-02-06 and I don't have that
problem in either. I'm not sure why you get that e-mail, maybe something
specific to your server?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-22