diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-03-16 17:25:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-03-16 17:25:28 +0000 |
commit | 1b15b5049c4ada283e9d53d5a94458d13311384c (patch) | |
tree | 6082d388833e4d6260aac76717f1160ad7b45cc9 | |
parent | 6ab7f52b691d6fd18274d089f415ce30f1280258 (diff) | |
download | fetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.tar.gz fetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.tar.bz2 fetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.zip |
Spaces in IMAP names.
svn path=/trunk/; revision=1703
-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); |