mozilla-b2g/gaia-email-libs-and-more — pull request #244 by asutherland (2013-08-29 11:14:14+00:00)
Title: Bug 901926 - [Email] Email app stops working if attachment contains an IMAP literal

Additional fixes and test thoroughness on mcav's patch. Mainly:

- Handle \r\n embedded in the literal, not just \n.

- Have the unit test have assertions on the data logged to validate the parse
logic is working enough to break things along correct boundaries.