Revision 277ea87...

Go back to digest for 7th April 2013

Bug Fixes in KDE-PIM

Jan Kundrát committed changes in [trojita] /:

IMAP: make GMail happy when invoking ESEARCH

There's currently a bug in GMail's implementation of the ESEARCH command where
they don't correctly handle the SEARCH command with an empty return
specification ("RETURN ()") which the RFC mandates to be equivalent to "RETURN
(ALL)".

I've already reported that to Google and Brandon has promised a fix. Our users
can also add ESEARCH to the blacklisted capabilities in order to make it work,
but this is far from being easily discoverable. Let's waste these three bytes
until GMail rolls out a release with a proper fix -- this is a major
interoperability issue which prevents even basic mailbox resynchronization, so
it's worth the effort IMHO.

File Changes

Modified 4 files
  •   src/Imap/Parser/Parser.cpp
  •   src/Imap/Tasks/SortTask.cpp
  •   tests/tests/test_Imap_Tasks_ObtainSynchronizedMailbox/test_Imap_Tasks_ObtainSynchronizedMailbox.cpp
  •   tests/tests/test_Imap_Threading/test_Imap_Threading.cpp
4 files changed in total