diff options
Diffstat (limited to 'Bugzilla/DB.pm')
-rw-r--r-- | Bugzilla/DB.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index 263f545af..f031637d5 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -272,6 +272,9 @@ sub sql_fulltext_search { # in LIKE search clauses @words = map($self->quote("%$_%"), @words); + # untaint words, since they are safe to use now that we've quoted them + map(trick_taint($_), @words); + # turn the words into a set of LIKE search clauses @words = map("LOWER($column) LIKE $_", @words); |