Project

General

Profile

Actions

Bug #7153

closed

IMAP: emails with (BODY ("MIXED")) returned from fetch fail to parse

Added by tonyarkles (Tony Arkles) about 12 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
ruby -v:
1.9.3p194
Backport:
[ruby-core:47951]

Description

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.

Updated by tonyarkles (Tony Arkles) about 12 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.

Actions #3

Updated by shugo (Shugo Maeda) about 12 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.


Actions

Also available in: Atom PDF

Like0
Like0Like0Like0