[bugs] [Bug 1070] New - IMP 3.x maintanance scripts have problems with localized folder names.

bugs@bugs.horde.org bugs@bugs.horde.org
Wed Oct 9 14:28:19 2002


http://bugs.horde.org/show_bug.cgi?id=1070

*** shadow/1070	Wed Oct  9 10:28:19 2002
--- shadow/1070.tmp.7690	Wed Oct  9 10:28:19 2002
***************
*** 0 ****
--- 1,33 ----
+ Bug#: 1070
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: PHP Code
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: bugs@webinfo.fi               
+ URL: 
+ Summary: IMP 3.x maintanance scripts have problems with localized folder names.
+ 
+ Maintenance operations which are run on beginning of month generate illegal
+ folder names on some languages:
+ 
+ 	The folder "{localhost:143/imap}INBOX.sent-mail-touko -2002" contains
+ 	illegal characters in its name. It may cause problems. Please see your
+ 	system administrator.
+ 
+ 
+ It seems that strftime's abbreviated month names have empty spaces on some
+ languages. So the function renameSentmailMonthlyName in
+ rename_sentmail_monthly.php returns illegal folder names on some languages. 
+ 
+ Also the delete_sentmail_monthly.php works only for English folder names as
+ strtotime parses only English textual datetime descriptions.
+ 
+ Maybe it would be better not to localize folder names at all or use numerical
+ representation of month names in rename_sentmail_monthly.php.