Mercurial > dovecot > core-2.2
changeset 21727:d480d29e6dc1
auth: Do not double-expand key in passdb dict when authenticating
Broken by 79042f8c
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Mon, 06 Mar 2017 14:59:46 +0200 |
parents | 995399a962cc |
children | fb3278b43cdd |
files | src/auth/db-dict.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/db-dict.c Thu Mar 09 11:32:21 2017 -0500 +++ b/src/auth/db-dict.c Mon Mar 06 14:59:46 2017 +0200 @@ -408,7 +408,7 @@ continue; str_truncate(path, strlen(DICT_PATH_SHARED)); - var_expand(path, key->key->key, iter->var_expand_table); + str_append(path, key->key->key); ret = dict_lookup(iter->conn->dict, iter->pool, str_c(path), &key->value); if (ret > 0) {