Commit 16f1833e authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 583645: Make $dbh->quote always detaint its output, even on DBDs that

don't normally detaint output from $dbh->quote. r=LpSolit, a=LpSolit
parent bb18f8a6
......@@ -95,6 +95,17 @@ use constant WORD_START => '(^|[^[:alnum:]])';
use constant WORD_END => '($|[^[:alnum:]])';
#####################################################################
# Overridden Superclass Methods
#####################################################################
sub quote {
my $self = shift;
my $retval = $self->SUPER::quote(@_);
trick_taint($retval) if defined $retval;
return $retval;
}
#####################################################################
# Connection Methods
#####################################################################
......
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