From e910f5ba8f8d11a9a23b35f7bea7e667beddec6b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 16 Apr 2010 10:06:52 -0700 Subject: [PATCH] fix tags normalization in pkgreport.cgi --- cgi/pkgreport.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgi/pkgreport.cgi b/cgi/pkgreport.cgi index 1666bbc..b70a5cb 100755 --- a/cgi/pkgreport.cgi +++ b/cgi/pkgreport.cgi @@ -79,7 +79,7 @@ if (exists $param{form_options} and defined $param{form_options}) { for my $incexc (qw(include exclude)) { next unless exists $param{$incexc}; # normalize tag to tags - $param{$incexc} = [map {s/^tag:/tags:/} grep /\S\:\S/, make_list($param{$incexc})]; + $param{$incexc} = [map {s/^tag:/tags:/; $_} grep /\S\:\S/, make_list($param{$incexc})]; } for my $key (keys %package_search_keys) { next unless exists $param{key}; @@ -100,7 +100,7 @@ if (exists $param{form_options} and defined $param{form_options}) { for my $incexc (qw(include exclude)) { next unless exists $param{$incexc}; # normalize tag to tags - $param{$incexc} = [map {s/^tag:/tags:/} make_list($param{$incexc})]; + $param{$incexc} = [map {s/^tag:/tags:/; $_} make_list($param{$incexc})]; } -- 2.39.2