Bug 161402 - Disable DBI taint mode in processmail

r=joel x2
parent df3a1116
...@@ -37,7 +37,6 @@ use RelationSet; ...@@ -37,7 +37,6 @@ use RelationSet;
# Shut up misguided -w warnings about "used only once". # Shut up misguided -w warnings about "used only once".
sub processmail_sillyness { sub processmail_sillyness {
my $zz; my $zz;
$zz = $::db;
$zz = $::unconfirmedstate; $zz = $::unconfirmedstate;
} }
...@@ -761,9 +760,6 @@ sub NewProcessOnePerson ($$$$$$$$$$$$) { ...@@ -761,9 +760,6 @@ sub NewProcessOnePerson ($$$$$$$$$$$$) {
# Code starts here # Code starts here
ConnectToDatabase(); ConnectToDatabase();
# Set Taint mode for the SQL
$::db->{Taint} = 1;
# ^^^ Taint mode is still a work in progress...
GetVersionTable(); GetVersionTable();
if (open(FID, "<data/nomail")) { if (open(FID, "<data/nomail")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment