IMAP: emails with (BODY ("MIXED")) returned from fetch fail to parse
I'm not sure if this is even valid IMAP (I couldn't find a reference to it in the RFC), but Google's IMAP server seems to return these occasionally. Found a message in my Inbox that wouldn't parse because of this.
I've added a test and fixed the module. Will post the pull request here right away.
#1 [ruby-core:47952] Updated by tonyarkles (Tony Arkles) over 5 years ago
OK, the patch for this will have conflicts with the patches for #7145, #7146, and #7147 because it also adds unit tests to test_imap_response_parser.rb. I'm not sure what the best approach is for this... Whether to wait until that pull request is accepted and do a second one, or to just add this fix into the original pull request.
#3 Updated by shugo (Shugo Maeda) over 5 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r37240.
Tony, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.