Fix another mysterious taint

3col
Vitaliy Filippov 2015-06-19 14:21:09 +03:00
parent dfee458b46
commit 339e8aae8e
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ sub _init
my $class = shift;
my ($param) = @_;
my $dbh = Bugzilla->dbh;
my $columns = join(',', $class->DB_COLUMNS);
my $columns = join(',', @{ [ $class->DB_COLUMNS ] }); # Another mysterious taint happens here with Bugzilla::Component::DB_COLUMNS
my $table = $class->DB_TABLE;
my $name_field = $class->NAME_FIELD;
my $id_field = $class->ID_FIELD;

View File

@ -31,7 +31,7 @@ use strict;
use base qw(Exporter);
@Bugzilla::Util::EXPORT = qw(
trick_taint detaint_natural trick_taint_copy detaint_signed
trick_taint is_tainted detaint_natural trick_taint_copy detaint_signed
html_strip html_quote url_quote url_quote_noslash xml_quote css_class_quote html_light_quote url_decode
i_am_cgi correct_urlbase remote_ip lsearch
do_ssl_redirect_if_required use_attachbase