skumar1 0 Newbie Poster

Hi All,

I have written one custom script in bugzilla called duration.cgi which calculates the bug duration. I am getting below error message while trying to access link : http://localhost:8200/duration.cgi as below:
Software Error
Insecure dependency in parameter 1 of DBI::db=HASH(0x275840c)->prepare_cached method call while running with -T switch at C:/Bugzilla/duration.cgi line 102

Line no. 102 in the duration.cgi is displayed as below:
my $sth = $dbh->prepare_cached($sql) or die "can't execute SQL:" . $dbh->errstr();

I explored this and found that there is an issue of Perl taint code. can you please help me out in fixing this issue.

Thanks
Kumar