On Fri, 2004-06-18 at 13:20, Arnt Gulbrandsen wrote:
> Ilja Booij writes:
> > Does IMAP4 allow for "'" in the password? I can't find the valid
> > characters in the RFC (I might not be looking well enough).
>
> IMAP allows all characters in the password, except null. The following
> commands are all valid and log in with the two-character passwords ÿ½,
> "\ and [].
>
> C: a login ilja {2}
> C: ÿ½
> S: a ok
>
> C: b login ijla "\"\\"
> S: b ok
>
> C: c login ijla []
> S: c ok
>
> The password production is on page 88 of RFC 3501.
But... I think we need to rewrite quite a lot of stuff here.. And be
better at supporting strange characters. A rewrite of imapcommands.c is
already underway, so this might be a part of that already. Paul?
Aha, my hardcopy of the RFC is missing everything after page 68...
which explains a lot.
Ilja