mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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:
parent
75cd7fd667
commit
32b9c30e67
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user