From ed7e15a8834eaaa1cfeb728004b2e6719dfaff67 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 30 May 2017 16:24:52 +0300 Subject: [PATCH] auth: Fix unescaping tabs in auth client input. This mainly broke forward_fields when there was more than one of them. --- src/auth/auth-request-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/auth-request-handler.c b/src/auth/auth-request-handler.c index 68becc2835..83bf56e454 100644 --- a/src/auth/auth-request-handler.c +++ b/src/auth/auth-request-handler.c @@ -465,7 +465,7 @@ bool auth_request_handler_auth_begin(struct auth_request_handler *handler, i_assert(!handler->destroyed); /* [...] */ - list = t_strsplit_tab(args); + list = t_strsplit_tabescaped(args); if (list[0] == NULL || list[1] == NULL || str_to_uint(list[0], &id) < 0) { i_error("BUG: Authentication client %u " -- 2.47.3