From 32b9c30e6705ca2b96b836cd0a8380b6a23478ff Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 14 Dec 2013 12:23:23 +0000 Subject: imap: Fixed exclude of clear text when using auth=* in commit 75cd7fd66762bb It is not 100% clear whether * should include clear text LOGIN or not from RFC-5092, however, including it is then consistent with current POP3 behaviour where clear text, APOP or SASL may be chosen. --- lib/imap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/imap.c') diff --git a/lib/imap.c b/lib/imap.c index 3cb1e8f84..c257d76cc 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -2334,7 +2334,7 @@ static CURLcode imap_parse_url_options(struct connectdata *conn) const char *value = ptr + 1; if(strequal(value, "*")) { - imapc->preftype = IMAP_TYPE_SASL; + imapc->preftype = IMAP_TYPE_ANY; imapc->prefmech = SASL_AUTH_ANY; } else if(strequal(value, SASL_MECH_STRING_LOGIN)) { -- cgit v1.2.3