← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1636333] Re: Squirrelmail - missing Subject/Body on some messages in 16.04

 

This bug was fixed in the package squirrelmail -
2:1.4.23~svn20120406-2ubuntu1.16.04.1

---------------
squirrelmail (2:1.4.23~svn20120406-2ubuntu1.16.04.1) xenial; urgency=medium

  * debian/patches/php7_remove_e_modifier_preg_replace: Remove use of
    deprecated /e modifier in preg_replace.  Thanks to Thijs Kinkhorst
    <thijs@xxxxxxxxxx>.  Closes LP: #1636333.

 -- Nishanth Aravamudan <nish.aravamudan@xxxxxxxxxxxxx>  Mon, 28 Nov
2016 16:31:02 -0800

** Changed in: squirrelmail (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1636333

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

Status in squirrelmail package in Ubuntu:
  Fix Released
Status in squirrelmail source package in Xenial:
  Fix Released
Status in squirrelmail source package in Yakkety:
  Fix Released

Bug description:
  [Impact]

   * 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.

  [Test Case]

   * Install and configure squirrelmail. Determine if all emails have
  subject and message body.

     (@Scott, do you have a better test case?)

  [Regression Potential]

   * Squirrelmail as currently packaged is broken in 16.04, 16.10 and
  17.04, due to syntax changes in PHP7.0. The risk for regression is
  consequentially very low, as the fix involves backporting upstream
  fixes that make the code-base PHP7.0-compliant.

  ---

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

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