GNOME Bugzilla – Bug 780617
[IMAPx] Allow FETCH response split into multiple lines
Last modified: 2017-03-28 06:54:31 UTC
Similar to Bug 659868. Patch fixed it in 3.18.5.2 pastebin of example: https://pastebin.mozilla.org/8983311 patch which fixed it... https://paste.gnome.org/prko5ix27
Thanks for a bug report. From the first pastebin (which may disappear in the future): [imapx:A] I/O: '* 1 FETCH (UID 145342 RFC822.SIZE 3918 ^M RFC822.HEADER {247}^M Return-Path: userb@example.net^M Date: Sun, 29 Jan 2017 11:35:31 -0500^M To: usera@example.net^M Subject: Test^M Message-ID: <da4845f637bf1b3494037561af73468f@example.net>^M From: "User B" <userb@example.net>^M FLAGS (\Seen))^M Which is part of the response where ^M is \r, which is followed by \n. The first line is the problem, because it splits the FETCH response into multiple lines in the place where it is usually not done (this is the first server doing that, as far as I know). IMAPx ended with error: Error fetching message info: missing closing ')' on fetch response I didn't find a confirmation in RFC that any such thing can be done, but it doesn't seem a problem for properly-behaved servers, thus I've no problem to include the patch in the sources. As Ben confirmed on IRC, neither Thunderbird, nor Claws mail suffer of this issue.
Created commit c058f29 in eds master (3.25.1+) Created commit c6df50a in eds gnome-3-24 (3.24.1+)