summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 20:58:10 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-08 20:58:10 +0200
commit905e7009c546487e7c4c3c466b20edf601be412a (patch)
treeaae0c6aed4c35695e0073833506ecd2a751010c3
parentc0877b804cfd25c30c2f5f457630d220eb001a37 (diff)
downloadbugzilla-905e7009c546487e7c4c3c466b20edf601be412a.tar.gz
bugzilla-905e7009c546487e7c4c3c466b20edf601be412a.tar.xz
Bug 575021: Make the anyexact operator in Search.pm properly trim its
input values r=mkanat, a=mkanat (module owner)
-rw-r--r--Bugzilla/Search.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm
index 7128b8751..b7c2f06ba 100644
--- a/Bugzilla/Search.pm
+++ b/Bugzilla/Search.pm
@@ -2284,6 +2284,7 @@ sub _anyexact {
my @list;
foreach my $word (split(/,/, $value)) {
+ $word = trim($word);
if ($word eq "---" && $field eq 'resolution') {
$word = "";
}