diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-08 20:58:10 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-08 20:58:10 +0200 |
commit | 905e7009c546487e7c4c3c466b20edf601be412a (patch) | |
tree | aae0c6aed4c35695e0073833506ecd2a751010c3 | |
parent | c0877b804cfd25c30c2f5f457630d220eb001a37 (diff) | |
download | bugzilla-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.pm | 1 |
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 = ""; } |