I see your point - there is a hole in the spec. The first thing that pops
into my mind is that in order for IMAPdir to support dots in the middle of
mailbox names, they could be "encoded" using two dots. So:
foo -> foo foo.bar -> foo/bar foo..bar -> foo.bar foo...bar -> foo./bar
Leftmost derivative, to avoid ambiguity.
I guess that would work ok. I remove my previous claim of awfulness, it is only a little confusing :-)
So this would be the exception: either one or two dots at the start of an
item in IMAPdir represents one dot in the start of the mailbox name:
.foo -> .foo ..foo -> .foo
How does that sound?
Why is that special-cased?
I don't know what you're usually smoking but it seems to be working ;).
I am high on LIFE! (ba-dum-bang-ching!)
-Dan

