From: justdave%syndicomm.com <> Date: Mon, 1 Sep 2003 08:28:14 +0000 (+0000) Subject: Bug 177828: Fixes taint warning from post_bug with perl 5.8 X-Git-Tag: bugzilla-2.16.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54fd39000737c04b38bdcd5aa10e3ad64f1031a1;p=thirdparty%2Fbugzilla.git Bug 177828: Fixes taint warning from post_bug with perl 5.8 r= bbaetz, a= justdave --- diff --git a/post_bug.cgi b/post_bug.cgi index 2edb1aca42..6f37b18bff 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -212,6 +212,10 @@ if (defined $::FORM{'cc'}) { my $ccid = DBNameToIdAndCheck($person); if ($ccid && !$ccids{$ccid}) { $ccids{$ccid} = 1; + # if we got here, the DB has already verified that the email + # is legit. Unless the admin has screwed with the emailregexp + # it'll be safe. + trick_taint($person); push(@cc, $person); } }