projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75cd7fd
)
imap: Fixed exclude of clear text when using auth=* in commit 75cd7fd66762bb
author
Steve Holme
<steve_holme@hotmail.com>
Sat, 14 Dec 2013 12:23:23 +0000
(12:23 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Sat, 14 Dec 2013 12:24:17 +0000
(12:24 +0000)
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
patch
|
blob
|
history
diff --git
a/lib/imap.c
b/lib/imap.c
index
3cb1e8f
..
c257d76
100644
(file)
--- 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)) {