[imp] ampersand in folder names?

Chuck Hagenbuch chuck@horde.org
Tue, 16 Jan 2001 10:55:54 -0500


Quoting Joseph Brennan <brennan@columbia.edu>:

> UW imap2000 can select a folder with an ampersand.  & is a legal
> character in a mailbox name in the RFC, so this is good.

Just because UW allows it doesn't mean that it's correct. IMAP folder names 
should be encoded according to a modified UTF-7 encoding (sorry, don't have the 
rfc number handy right now), and & is a special character in that encoding. So 
all clients must encode mailbox names, and while if you create a folder with 
a '&' in it manually, or through a client that doesn't properly encode names, 
it will show up in UW, it won't work with clients that speak IMAP properly.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"If you can't stand the heat, get out of the chicken!" - Baby Blues