Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489970 - >=mail-client/roundcube-0.9.2 should depend on dev-lang/php[filter]
Summary: >=mail-client/roundcube-0.9.2 should depend on dev-lang/php[filter]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 14:17 UTC by Michael Orlitzky
Modified: 2014-08-12 10:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2013-10-31 14:17:36 UTC
I noticed this on the upgrade from 0.9.2 to 0.9.5, but it looks like the filter support can be needed in 0.9.2 as well.

This is 0.9.2:

  # grep -irn filter_var *
  program/lib/Roundcube/rcube_utils.php:629:            if ($matches < 1 || 
    filter_var($s[1]."@".$s[2], FILTER_VALIDATE_EMAIL) === false) {

And 0.9.5 (which white-screens immediately for me):

  # grep -irn filter_var *
  installer/check.php:198:    else if (filter_var($status, 
    FILTER_VALIDATE_BOOLEAN) == $val) {
  installer/check.php:237:    else if (filter_var($status, 
    FILTER_VALIDATE_BOOLEAN) == $val) {
  program/include/rcmail.php:1078:                if 
    (filter_var(ini_get('safe_mode'), FILTER_VALIDATE_BOOLEAN))
  program/include/rcmail.php:1958:        $rfc1867 = 
    filter_var(ini_get('apc.rfc1867'), FILTER_VALIDATE_BOOLEAN);
  program/include/rcmail_output_html.php:74:        
    $this->set_env('cookie_secure', 
    filter_var(ini_get('session.cookie_secure'), FILTER_VALIDATE_BOOLEAN));
  program/lib/Roundcube/bootstrap.php:47:    $ini_optval = 
    filter_var(ini_get($optname), is_bool($optval) ? FILTER_VALIDATE_BOOLEAN : 
    FILTER_VALIDATE_INT);
  program/lib/Roundcube/rcube_utils.php:625:            if ($matches < 1 || 
    filter_var($s[1]."@".$s[2], FILTER_VALIDATE_EMAIL) === false) {
Comment 1 Michael Orlitzky gentoo-dev 2014-01-09 02:25:41 UTC
Abusing my new confirmation powers. This should be easy to verify/fix, 0.9.5 (now stable) will whitescreen immediately without it.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-12 10:50:35 UTC
Fixed in 1.0.2.