diff options
author | Mark Longair <mhl@pobox.com> | 2013-04-30 14:50:25 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-05-16 09:06:27 +0100 |
commit | f93caeb5fad489943615453304b8b41062e67aa5 (patch) | |
tree | c4dbb648694eefcb44333c6eed07acb0ed216dab /spec/controllers/api_controller_spec.rb | |
parent | be5077d5f1af176c34aadd3dcfc6fd3ac9422a3d (diff) |
Add a test to check that anything in the MIME epilogue is ignored
There is currently a difference in behaviour in the parsing
of nested MIME multipart attachments between the Mail and
TMail based backends. This commit adds a test that will
pass if the behaviour is the same as the the old (TMail-based)
version, which I believe is correct according to RFC 1521.
The example email has a PNG attachment after the final MIME
boundary, and the RFC says that anything after the final
boundary ("the epilogue") should be ignored.
Diffstat (limited to 'spec/controllers/api_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions