dovecot: AUTHENTICATE "" command should return BAD instead of si...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Aug 8 17:14:35 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/458aa25822fb
changeset: 6238:458aa25822fb
user: Timo Sirainen <tss at iki.fi>
date: Wed Aug 08 17:14:30 2007 +0300
description:
AUTHENTICATE "" command should return BAD instead of silence.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/imap-login/client-authenticate.c | 2 +-
diffs (12 lines):
diff -r ea9604a6cfd6 -r 458aa25822fb src/imap-login/client-authenticate.c
--- a/src/imap-login/client-authenticate.c Wed Aug 08 15:49:12 2007 +0300
+++ b/src/imap-login/client-authenticate.c Wed Aug 08 17:14:30 2007 +0300
@@ -265,7 +265,7 @@ int cmd_authenticate(struct imap_client
mech_name = IMAP_ARG_STR(&args[0]);
if (*mech_name == '\0')
- return 0;
+ return -1;
client_ref(client);
sasl_server_auth_begin(&client->common, IMAP_SERVICE_NAME, mech_name,
More information about the dovecot-cvs
mailing list