Hi,
I just discovered a small bug in the GETQUOTAROOT implementation that keeps 
at least the Mulberry IMAP client from displaying quota information 
correctly.

the problem is that parse_mailbox_error strips the INBOX prefix on mailbox,
so
* GETQUOTAROOT "INBOX.bugtraq"
would return
* QUOTAROOT ".bugtraq" "ROOT"
instead of
* QUOTAROOT "INBOX.bugtraq" "ROOT"

using tokenbuf should be fine since I don't see parse_mailbox_error do any 
modification except stripping INBOX, and from what I've seen so far the 
mailbox names returned are only supposed to be used internally anyway.

diff to 1.4.2:

--- imapd.c.orig        Tue Jan  8 14:27:58 2002
+++ imapd.c     Mon Feb 25 12:46:00 2002
@@ -1590,7 +1590,7 @@

                writes("*");
                writes(" QUOTAROOT \"");
-               writeqs(mailbox);
+               writeqs(curtoken->tokenbuf);
                writes("\" \"");
                writes(qroot);
                writes("\"\r\n");


_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to