1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

imap: Fixed exclude of clear text when using auth=* in commit 75cd7fd667

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.
This commit is contained in:
Steve Holme 2013-12-14 12:23:23 +00:00
parent 75cd7fd667
commit 32b9c30e67

View File

@ -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)) {