From 6261cf94bcc2de6112edb791dcee411af984c576 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 10 Oct 1996 22:40:25 +0000 Subject: Ship IMAP passwords as quoted strings. svn path=/trunk/; revision=291 --- NEWS | 2 ++ imap.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6fb6dd2d..476dcc0f 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,8 @@ features -- * UID support is back by popular demand. Bletch. +* Permit spaces in IMAP passwords (ship them as quoted strings). + bugs -- * Fix buggy getopt specification of P and p options. diff --git a/imap.c b/imap.c index ac13f068..3592f15a 100644 --- a/imap.c +++ b/imap.c @@ -86,7 +86,7 @@ char *buf; { /* try to get authorized */ return(gen_transact(socket, - "LOGIN %s %s", + "LOGIN %s \"%s\"", queryctl->remotename, queryctl->password)); } -- cgit v1.2.3