From: shibata.hiroshi@... Date: 2015-05-08T06:16:20+00:00 Subject: [ruby-core:69103] [Ruby trunk - Bug #11128] [Assigned] IMAP parsing issue wih body_ext_mpart Issue #11128 has been updated by Hiroshi SHIBATA. Status changed from Open to Assigned ---------------------------------------- Bug #11128: IMAP parsing issue wih body_ext_mpart https://bugs.ruby-lang.org/issues/11128#change-52347 * Author: Mor Sela * Status: Assigned * Priority: Normal * Assignee: Shugo Maeda * ruby -v: 2.2.2 * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN ---------------------------------------- ResponseParser raises an error given a valid (RFC 3501) "body_ext_mpart" of the format "body-fld-param SP body-fld-dsp". sample response: "* 4 FETCH (BODY (((\"text\" \"plain\" (\"charset\" \"utf-8\") NIL NIL \"7bit\" 257 9 NIL NIL NIL NIL)(\"text\" \"html\" (\"charset\" \"utf-8\") NIL NIL \"quoted-printable\" 655 9 NIL NIL NIL NIL) \"alternative\" (\"boundary\" \"001a1137a5047848dd05157ddaa1\") NIL)(\"application\" \"pdf\" (\"name\" \"test.xml\" \"x-apple-part-url\" \"9D00D9A2-98AB-4EFB-85BA-FB255F8BF3D7\") NIL NIL \"base64\" 4383638 NIL (\"attachment\" (\"filename\" \"test.xml\")) NIL NIL) \"mixed\" (\"boundary\" \"001a1137a5047848e405157ddaa3\") NIL))\r\n" -- https://bugs.ruby-lang.org/