It looks like Microsoft Outlook (IMAP connection to outlook.office365.com) does not adhere to the IMAP spec and returns a BAD Command Argument Error. 11 when attempting to select a folder containing the tab character (ASCII 0x09). Sync-engine is not at fault here, but maybe there is something we can do to mitigate this issue?
What's interesting is that Microsoft returns the folder name with the tab character unencoded.
See a Python repr of a partial response to the LIST command:
b'* LIST (\\HasNoChildren) "/" "INBOX/ \tExample "\r\n'
Yet sending the tab unencoded in the SELECT command also results in BAD Command Argument Error. 11.
It looks like Microsoft Outlook (IMAP connection to
outlook.office365.com
) does not adhere to the IMAP spec and returns aBAD Command Argument Error. 11
when attempting to select a folder containing the tab character (ASCII0x09
). Sync-engine is not at fault here, but maybe there is something we can do to mitigate this issue?This is an example client<->server exchange:
What's interesting is that Microsoft returns the folder name with the tab character unencoded. See a Python repr of a partial response to the
LIST
command:Yet sending the tab unencoded in the
SELECT
command also results inBAD Command Argument Error. 11
.