A few days ago I sent a message, that my password had a "}" in it, so I
couldn't log in to the courier-imap server; the IMAP RFC says that an
atom with a "}" does not need to be quoted, but courier rejects unquoted
atoms with "}" characters. My imap client (evolution 1.2.2) was not
quoting the atom, making it impossible for me to log in!
I tracked it down, found the line with the bug. Here's a diff, produced
by the command "diff -Naur courier-imap-1.7.3/ courier-imap-new/":
--- courier-imap-1.7.3/imap/imaptoken.c 2002-12-11 20:41:01.000000000 -0800
+++ courier-imap-new/imap/imaptoken.c 2003-05-20 21:04:46.000000000 -0700
@@ -280,7 +280,7 @@
while (c != '\r' && c != '\n'
&& !isspace((int)(unsigned char)c)
&& c != '\\' && c != '"' && c != LPAREN_CHAR && c != RPAREN_CHAR
- && c != '{' && c != '}' && c != LBRACKET_CHAR && c !=
RBRACKET_CHAR)
+ && c != '{' && c != LBRACKET_CHAR && c != RBRACKET_CHAR)
{
curtoken.tokentype=IT_ATOM;
if (l < IT_MAX_ATOM_SIZE)
Please put this bugfix in. I'm not sure how many other problems this can
cause - the "}" is probably unusual to have in an IMAP atom, but I
assume it can show up elsewhere!