aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-16 17:25:28 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-16 17:25:28 +0000
commit1b15b5049c4ada283e9d53d5a94458d13311384c (patch)
tree6082d388833e4d6260aac76717f1160ad7b45cc9
parent6ab7f52b691d6fd18274d089f415ce30f1280258 (diff)
downloadfetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.tar.gz
fetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.tar.bz2
fetchmail-1b15b5049c4ada283e9d53d5a94458d13311384c.zip
Spaces in IMAP names.
svn path=/trunk/; revision=1703
-rw-r--r--NEWS1
-rw-r--r--imap.c2
2 files changed, 2 insertions, 1 deletions
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 <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.
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);