aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-show.c
diff options
context:
space:
mode:
authorGravatar Austin Clements <amdragon@MIT.EDU>2012-03-06 18:48:38 +0000
committerGravatar David Bremner <bremner@debian.org>2012-03-18 09:14:21 -0300
commit046ab77b1045596ab225296987401fe95eb2fe13 (patch)
treee48c342e53a2d895e78821a922bb4fe35e007f95 /notmuch-show.c
parentd2e96a35a5e5eceec158dc255331b6c524810b83 (diff)
test: Fix malformed multipart message
Previously, there was only one CRLF between the terminating boundary of the embedded multipart/alternative and the boundary of the containing multipart. However, according the RFC 1341, 7.2.1: The boundary must be followed immediately either by another CRLF and the header fields for the next part, or by two CRLFs, in which case there are no header fields for the next part and The CRLF preceding the encapsulation line is considered part of the boundary so that it is possible to have a part that does not end with a CRLF (line break). Thus, there must be *two* CRLFs between these boundaries: one that ends the terminating boundary and one that begins the enclosing boundary. While GMime accepted the message we had before, it could not produce such a message.
Diffstat (limited to 'notmuch-show.c')
0 files changed, 0 insertions, 0 deletions