mirror of
https://github.com/curl/curl.git
synced 2026-06-18 10:15:36 +03: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue