diff options
author | Steve Holme <steve_holme@hotmail.com> | 2012-05-17 11:31:06 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2012-05-17 11:31:06 +0100 |
commit | 7ba07c80a16cd4ce711b5ac62d3632ae4145e9a9 (patch) | |
tree | 4c1947e1c61e914b513fbe4a4dd48651269c66f3 /docs/examples/imap.c | |
parent | fec096f153a3df6eba3ca7ef13505c5552f7c5c5 (diff) |
smtp: Fixed non-escaping of dot character at beginning of line
A dot character at the beginning of a line would not be escaped to a
double dot as required by RFC-2821, instead it would be deleted by the
mail server. Please see section 4.5.2 of the RFC for more information.
Note: This fix also simplifies the detection of repeated CRLF.CRLF
combinations, such as CRLF.CRLF.CRLF, a little rather than having to
advance the eob counter to 2.
Diffstat (limited to 'docs/examples/imap.c')
0 files changed, 0 insertions, 0 deletions