Created attachment 364618 [details] fix typo +++ This bug was initially created as a clone of Bug #528758 +++ Created an attachment (id=364617) fix typo Description of problem: There was a CONSTANT typo in squirrelmail version < 1.4.9, this was fixed in December of 2006 resulting in the following errors: Error while replying: Warning: preg_split() expects parameter 4 to be long, string given in /usr/share/squirrelmail/functions/imap_messages.php on line 808 Error while sending regularly: Warning: Invalid argument supplied for foreach() in /usr/share/squirrelmail/functions/mime.php on line 52 How reproducible: view /usr/share/squirrelmail/functions/imap_messages.php on line 808 in rhel4, squirrelmail-1.4.8-5.el4_8.5.noarch [root@esx02-sa-el4-i386 ~]# cat /etc/redhat-release Red Hat Enterprise Linux ES release 4 (Nahant Update 8) [root@esx02-sa-el4-i386 ~]# rpm -q squirrelmail squirrelmail-1.4.8-5.el4_8.5 [root@esx02-sa-el4-i386 ~]# grep -n /usr/share/squirrelmail/functions/imap_messages.php -e PREG_SPLIT_NI 808: $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); [root@esx02-sa-el4-i386 ~]# Steps to Reproduce: Actual results: Expected results: Additional info: http://squirrelmail.org/changelog.php Version 1.4.9 - 2 December 2006 - Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message (#1543573).
I'm sorry for not addressing the issue in RHEL-4. As squirrelmail is not scheduled for update in RHEL-4.9, I'm closing that bugzilla WONTFIX. If you are still experiencing the issue with RHEL-5, feel free to reopen it against RHEL-5.