Skip to content

LIST returns wrong UTF-7 encoded mailbox with & in its name #46

@Vovan-VE

Description

@Vovan-VE
  1. Yandex mail
  2. A mailbox with & in its name.
  3. IMAP LIST command.

An example response line from LIST command for a mailbox:

* LIST (\HasNoChildren \Marked) "|" "INBOX"

With example mailbox name Абв&где:

Expected UTF-7 mailbox name:

&BBAEMQQy-&-&BDMENAQ1-

Actual UTF-7 mailbox name:

&BBAEMQQyACYEMwQ0BDU-


UPD: The issue happens in some unknown edge cases, rather then with every & anywhere.


RFC 9051: A.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions