]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
imapc: Fix local filesystem directory name escaping
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 18 Jan 2021 21:19:01 +0000 (23:19 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Wed, 3 Feb 2021 09:04:22 +0000 (09:04 +0000)
commit6abcea7e0a3a94acd144dea24cadb745448d9a5d
tree31249584f7c582b3d148144b8f8939041bf1fd89
parentfc0be41d1d1cfef8345136dec02050a8939130f7
imapc: Fix local filesystem directory name escaping

Use the remote mailbox name as the base. Convert the hierarchy separator
and add escaping as necessary.

The old method was based on storage_name, and it's a bit unclear if it
worked correctly in all situations.
src/lib-storage/index/imapc/imapc-list.c