Bug #7146
closedIMAP: messages with a mime-attachment of type "message/delivery-notification" fail
Description
When doing im.fetch("1:*", "FULL") on my inbox, I discovered an email message that had a delivery notification attached to it. This failed to parse around line 2414 in imap.rb. I've fixed this in https://github.com/ruby/ruby/pull/193 and https://github.com/ruby/ruby/pull/194.
Updated by tonyarkles (Tony Arkles) about 12 years ago
Was in version "ruby 1.9.3p194" that I noticed the problem.
Updated by shugo (Shugo Maeda) about 12 years ago
- Status changed from Open to Assigned
- Assignee changed from tonyarkles (Tony Arkles) to shugo (Shugo Maeda)
Updated by tonyarkles (Tony Arkles) about 12 years ago
I accidentally broke the pull request. Fixed one at https://github.com/ruby/ruby/pull/196
Updated by shugo (Shugo Maeda) about 12 years ago
- Tracker changed from Feature to Bug
Updated by shugo (Shugo Maeda) about 12 years 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 ([ruby-core:47920] [Bug #7146]),
message/rfc822 attachments ([ruby-core:47921] [Bug #7147]), and
(BODY ("MIXED")) ([ruby-core:47951] [Bug #7153]). -
test/net/imap/test_imap_response_parser.rb: related test.