Artifact 58d5014510a6d8997b4e803fb61115d7549f205595db5cb62aa2d9d680cc0928:
- File
src/smtp.c
— part of check-in
[51740ce4]
at
2018-08-14 03:55:56
on branch trunk
— The blob-to-SMTP encoding logic was not strictly following RFC 5321 in that it was only dealing with the lone dot on the line case, doubling it to prevent the SMTP server from interpreting that as end-of-message. It missed the case where, if anything follows the dot, SMTP drops the leading dot, so you must also double the leading dot in that case. Basically, you always double a leading dot, regardless of line length.
This only affects Fossil's direct-to-SMTP email sending case, not those that send via a piped command or via DB. That is dealt with later in [8c0ec30bc3]. (user: wyoung size: 47366)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.