]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Avoid unnecessary home lookup when path begins with ~user
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 15 Nov 2023 22:08:52 +0000 (00:08 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:10 +0000 (12:34 +0200)
commitb600374fc3508353bb5388d11360fe9fea0a17b4
tree47e7d8288acbcd13fee88fc37a93c11a0056f0ad
parent1e387433c11d1ce8e572fd82096c0e6dc9b243d3
lib-storage: Avoid unnecessary home lookup when path begins with ~user

Lookup home only when path begins with ~/, since it's the only one being
expanded to home.
src/lib-storage/mail-user.c