]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: mailbox_list_default_get_storage_name() - Escape ns_prefix/INBOX if...
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 14 Jan 2021 15:45:07 +0000 (17:45 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 3 Feb 2021 09:04:22 +0000 (09:04 +0000)
commitbd8839f99c76a2764999fad75f7cb6f184b8b8d4
tree88fdaf25a4cd99a9405aceb3c5ba296a48e6304b
parenta243cdb7489292c139bc84885b3ad7ea9c9174c7
lib-storage: mailbox_list_default_get_storage_name() - Escape ns_prefix/INBOX if possible

If storage_name_escape_char is set, escape the "I" letter in the
storage_name if the namespace also has inbox=yes. This way it's possible to
distinguish between the actual INBOX and ns_prefix/INBOX.
src/lib-storage/mailbox-list.c
src/lib-storage/test-mailbox-list.c