]> 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:58:49 +0000 (16:58 +0000)
committermkanat%bugzilla.org <>
Fri, 11 Sep 2009 16:58:49 +0000 (16:58 +0000)
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Install/Requirements.pm

index 97a7c3d922d4b44ebf959f8820765c1b9bc509d4..cf6ee03532fdfe35ed4c30dd14e81e0134ab095b 100644 (file)
@@ -62,7 +62,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 => 'TimeDate',