I subscribe to the squirrelmail-users mailing list.
  [ ]  True - No need to CC me when replying
  [x]  False - Please CC me when replying

This bug occurs when I ...
  ... view the message index of a mailbox



The description of the bug:

there are smtp relays which add multiple spaces in the date string like
"5 January 2004        10:04:30 LCL"
In the message list it is listed as "01:00".

I can reproduce the bug by:
see above

(Optional) I got bored and found the bug occurs in:

functions/imap_messages.php

(Optional) I got really bored and here's a fix:
replace
$date = str_replace('  ', ' ', $date);
by
$date = ereg_replace(' +', ' ', $date);

----------------------------------------------

My browser information:
  Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; H010818)
  get_browser() information (List)
    * Nothing listed

My web server information:
  PHP Version 4.3.4
  PHP Extensions (List)
    * 0 = yp
    * 1 = xml
    * 2 = wddx
    * 3 = tokenizer
    * 4 = sysvshm
    * 5 = sysvsem
    * 6 = sysvmsg
    * 7 = standard
    * 8 = sockets
    * 9 = shmop
    * 10 = session
    * 11 = posix
    * 12 = pcre
    * 13 = overload
    * 14 = mbstring
    * 15 = iconv
    * 16 = gettext
    * 17 = ftp
    * 18 = filepro
    * 19 = exif
    * 20 = dbase
    * 21 = dba
    * 22 = ctype
    * 23 = calendar
    * 24 = bz2
    * 25 = bcmath
    * 26 = zlib
    * 27 = openssl
    * 28 = apache
    * 29 = imap
    * 30 = ldap
    * 31 = mcal
    * 32 = mysql
    * 33 = recode
    * 34 = odbc

SquirrelMail-specific information:
  Version:  1.4.2
  Plugins (List)
    * 0 = login_alias
    * 1 = dictionary-0.6
    * 2 = view_as_html
    * 3 = compatibility
    * 4 = autocomplete
    * 5 = address_add
    * 6 = newmail
    * 7 = delete_move_next
    * 8 = calendar
    * 9 = info
    * 10 = listcommands
    * 11 = message_details
    * 12 = image_buttons
    * 13 = windows
    * 14 = pushed_look
    * 15 = squirrelspell
    * 16 = notify
    * 17 = gpg
    * 18 = abook_take
    * 19 = spamassassin
    * 20 = filters
    * 21 = bug_report

My IMAP server information:
  Server type:  courier
  Server info:  * OK [HIDDEN] ready. Copyright 1998-2002 Double Precision, Inc.  See
COPYING for distribution information.
  Cabailities:  IMAP4rev1 CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES 
SORT


Andreas



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to