Bug #7147

IMAP: emails with message/rfc822 attachments fail to parse

Added by Tony Arkles over 1 year ago. Updated over 1 year ago.

[ruby-core:47921]
Status:Closed
Priority:Normal
Assignee:Shugo Maeda
Category:lib
Target version:-
ruby -v:ruby 1.9.3p194 Backport:

Description

Doing im.fetch("1:*", "FULL") on my inbox resulted in a few email messages with attached emssage/rfc822 emails (these were forwarded by someone else). These messages failed to parse. I've fixed this in https://github.com/ruby/ruby/pull/193 and https://github.com/ruby/ruby/pull/194.

Associated revisions

Revision 37240
Added by Shugo Maeda over 1 year ago

  • lib/net/imap.rb: fix Net::IMAP::ResponseParser to accept
    message/delivery-status ( [Bug #7146]),
    message/rfc822 attachments ( [Bug #7147]), and
    (BODY ("MIXED")) ( [Bug #7153]).

  • test/net/imap/testimapresponse_parser.rb: related test.

History

#1 Updated by Shugo Maeda over 1 year ago

  • Status changed from Open to Assigned
  • Assignee changed from Tony Arkles to Shugo Maeda

#2 Updated by Tony Arkles over 1 year ago

I broke the one pull request. Fixed at https://github.com/ruby/ruby/pull/196

#3 Updated by Shugo Maeda over 1 year ago

  • Status changed from Assigned 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.


  • lib/net/imap.rb: fix Net::IMAP::ResponseParser to accept
    message/delivery-status ( [Bug #7146]),
    message/rfc822 attachments ( [Bug #7147]), and
    (BODY ("MIXED")) ( [Bug #7153]).

  • test/net/imap/testimapresponse_parser.rb: related test.

Also available in: Atom PDF