From: Max Kanat-Alexander Date: Thu, 8 Jul 2010 18:58:10 +0000 (-0700) Subject: Bug 575021: Make the anyexact operator in Search.pm properly trim its X-Git-Tag: bugzilla-4.1.1~452 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=905e7009c546487e7c4c3c466b20edf601be412a;p=thirdparty%2Fbugzilla.git Bug 575021: Make the anyexact operator in Search.pm properly trim its input values r=mkanat, a=mkanat (module owner) --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 7128b87512..b7c2f06ba0 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 = ""; }