From: gerv%gerv.net <> Date: Wed, 25 Jun 2008 20:57:44 +0000 (+0000) Subject: Bug 441541 - Email::MIME->as_string gives SCALAR for body with mismatched Email:... X-Git-Tag: bugzilla-3.2rc1~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e69388e3e1c51053b3159a8760dd2917793212e;p=thirdparty%2Fbugzilla.git Bug 441541 - Email::MIME->as_string gives SCALAR for body with mismatched Email:: modules. Patch by gerv; r,a=mkanat. --- diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm index b8695c8241..0f2472a5e5 100644 --- a/Bugzilla/Install/Requirements.pm +++ b/Bugzilla/Install/Requirements.pm @@ -57,7 +57,7 @@ sub REQUIRED_MODULES { my $perl_ver = sprintf('%vd', $^V); my @modules = ( { - package => 'CGI', + package => 'CGI.pm', module => 'CGI', # Perl 5.10 requires CGI 3.33 due to a taint issue when # uploading attachments, see bug 416382. @@ -96,7 +96,7 @@ sub REQUIRED_MODULES { { package => 'Email-MIME-Modifier', module => 'Email::MIME::Modifier', - version => 0 + version => '1.442' }, ); @@ -238,7 +238,7 @@ sub OPTIONAL_MODULES { # check is only relevant with Perl 5.8.x. my $perl_ver = sprintf('%vd', $^V); if (vers_cmp($perl_ver, '5.10') < 0) { - push(@modules, { package => 'CGI', + push(@modules, { package => 'CGI.pm', module => 'CGI', version => '3.11', feature => 'mod_perl' });