From 1b15b5049c4ada283e9d53d5a94458d13311384c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 16 Mar 1998 17:25:28 +0000 Subject: Spaces in IMAP names. svn path=/trunk/; revision=1703 --- NEWS | 1 + imap.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index d82a89e5..32699b89 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,7 @@ fetchmail-4.4.0 (Fri Mar 13 15:48:27 EST 1998): * Dominique Unruh's patch that copes gracefully with bodiless messages. * Fix timer-leak problem with the SIGALRM fix, pointed out by Dave Bodenstab. * Deal with more M$ Exchange braindamage (violating an RFC1939 limit). +* Allow spaces in IMAP usernames (thank Juerg Wanner ). * Improvements in UID handling; should be a cleaner fix for Dick van den Burg. There are 270 people on fetchmail-friends and 160 on fetchmail-announce. diff --git a/imap.c b/imap.c index 4292916b..b1f27e1c 100644 --- a/imap.c +++ b/imap.c @@ -689,7 +689,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) if (!newpass) return(PS_AUTHFAIL); /* should report error better!!!! */ - ok = gen_transact(sock, "LOGIN %s \"%s\"", ctl->remotename, newpass); + ok = gen_transact(sock, "LOGIN \"%s\" \"%s\"", ctl->remotename,newpass); free(newpass); -- cgit v1.2.3