diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | imap.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 <juerg.wanner@ubs.com>). * 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. @@ -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); |