sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
889 stars 96 forks source link

fix EnclosedMessage header lines (fixes #571) #574

Closed IPv2 closed 4 years ago

IPv2 commented 4 years ago

In class EnclosedMessage (within lib/sup/message_chunks.rb):

In this commit, we:

  1. Fix the above three issues in EnclosedMessage.

  2. Uncomment and expand upon the "TODO" tests for EnclosedMessage headers. These placeholders were added in PR #569, credit @danc86.

  3. Modify test/fixtures/non-ascii-header-in-nested-message.eml to follow best practices for a testing email address, i.e., use reserved .invalid domain instead of b.c - to ensure that the testing email address remains invalid forever.