[Tickets #1620] infinite loop in IMAP folder listing

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Mar 31 09:56:00 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1620
-----------------------------------------------------------------------
 Ticket             | 1620
 Updated By         | Michael Slusarz <slusarz at mail.curecanti.org>
 Summary            | infinite loop in IMAP folder listing
 Queue              | Horde Framework Packages
 State              | Feedback
 Priority           | 3. High
 Type               | Bug
 Owners             | Michael Slusarz
-----------------------------------------------------------------------


Michael Slusarz <slusarz at mail.curecanti.org> (2005-03-31 09:56) wrote:

Eli, in _getList(), can you try changing this line:
if (!empty($box->name)) {

to:

if (!empty($box->name) && !empty($box->delimiter)) {

As far as I can tell, folders that don't contain a delimiter must
(obviously) be in the base level.  And INBOX should be the only folder that
doesn't have a delimiter.  And we specifically add INBOX to the base level
in IMP_Tree:: so ignoring it in _getList() will not prevent us from seeing
INBOX in the base level.




More information about the bugs mailing list