Public bug reported:

In Ubuntu 16.04, Squirrelmail has a regression from 14.04.  Certain
messages are missing the subject or message body.  Investigation reveals
that this is due to the removal of the /e modifier in preg_replace in
PHP 7.  The server logs show numerous error messages similar to the
following:

[Mon Oct 24 19:40:36.248894 2016] [:error] [pid 4699] [client
AAA.BBB.CCC.DDD:12345] PHP Warning:  preg_replace(): The /e modifier is
no longer supported, use preg_replace_callback instead in
/usr/share/squirrelmail/functions/decode/utf_8.php on line 87, referer:
xyz

Upstream has resolved this issue:
https://sourceforge.net/p/squirrelmail/code/14359/

After applying the patch in 14359 (plus the trivial 14347 which is
necessary to make 14359 apply cleanly), the problems go away.

PPA with the patches applied: https://launchpad.net/~swt-
techie/+archive/ubuntu/squirrelmail

** Affects: squirrelmail (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636333

Title:
  Squirrelmail - missing Subject/Body on some messages in 16.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squirrelmail/+bug/1636333/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to