Ticket #1485175 (closed Bugs: fixed)

Opened 5 months ago

Last modified 5 months ago

all-numeric directories not shown properly. (ie: folder '2008')

Reported by: corbosman Owned by:
Priority: 5 Milestone: 0.2-beta
Component: PHP backend Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

if you create a folder thats all numeric, it wont be shown correctly. This is because list_mailboxes() does not type the foldernames, so all numeric folders turn into integers. Later on, in the UTF7 to UTF8 conversion function this causes the foldername to become empty.

Attachments

numeric_folders.patch (316 bytes) - added by corbosman 5 months ago.

Change History

Changed 5 months ago by corbosman

Changed 5 months ago by corbosman

Added a patch for this problem. We have to force string use in utf7.inc, else the $str{$i} wont work on numeric 'strings' (ie: integers).

ps: {} notation for string is deprecated as of PHP6. Might be a good idea to change all of them to [] instead.

Changed 5 months ago by alec

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from later to 0.2-beta

Fixed in r1581.

Note: See TracTickets for help on using tickets.