mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 251484: Fix taint error on series create when creating a new product
r=justdave a=justdave
This commit is contained in:
parent
250919719d
commit
ad21541069
@ -397,6 +397,11 @@ if ($action eq 'new') {
|
||||
# Insert default charting queries for this product.
|
||||
# If they aren't using charting, this won't do any harm.
|
||||
GetVersionTable();
|
||||
|
||||
# $::FORM{'open_name'} and $product are sqlquoted by the series
|
||||
# code and never used again here, so we can trick_taint them.
|
||||
trick_taint($::FORM{'open_name'});
|
||||
trick_taint($product);
|
||||
|
||||
my @series;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user