]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 515991: Blacklist CGI 3.46 and 3.47 because CGI::Carp breaks Template Toolkit...
authormkanat%bugzilla.org <>
Fri, 11 Sep 2009 16:56:00 +0000 (16:56 +0000)
committermkanat%bugzilla.org <>
Fri, 11 Sep 2009 16:56:00 +0000 (16:56 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Install/Requirements.pm

index a957ceb10f3eaeca69234737a75f3d386627ba89..70974a3739516a03f9b8afedbcb9688477c8005c 100644 (file)
@@ -66,7 +66,9 @@ sub REQUIRED_MODULES {
         # Perl 5.10 requires CGI 3.33 due to a taint issue when
         # uploading attachments, see bug 416382.
         # Require CGI 3.21 for -httponly support, see bug 368502.
-        version => (vers_cmp($perl_ver, '5.10') > -1) ? '3.33' : '3.21'
+        version => (vers_cmp($perl_ver, '5.10') > -1) ? '3.33' : '3.21',
+        # CGI::Carp in 3.46 and 3.47 breaks Template Toolkit
+        blacklist => ['^3\.46$', '^3\.47$'],
     },
     {
         package => 'Digest-SHA',