Re: SMTP, data corruption and dot stuffing
Date: Thu, 20 Oct 2011 00:18:55 +0200 (CEST)
On Wed, 19 Oct 2011, Daniel Stenberg wrote:
> The bug is due to Curl_smtp_escape_eob() being too stupid. I'm working on
I believe I made it work properly with the attached patch. I remade the entire
escaping logic in Curl_smtp_escape_eob() since turned out it was just broken
when the end-of-body string occurred over buffer boundaries.
The SMTP test cases also run through OK with this patch for me.
-- / daniel.haxx.se
- TEXT/x-diff attachment: 0001-Curl_smtp_escape_eob-fix-EOB-escaping.patch