X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FCGI.pm;h=a80397f4ed18524069cbd3c3137e79f964a9d41e;hb=1fbaca61f2f551b5b2645ce2233a1d964bc93b30;hp=b5c24ddbc648e7db0d133d1b1ecd83c4b7543eeb;hpb=757b392b853d7bc16592b9431d5275ca943684e4;p=debbugs.git diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index b5c24dd..a80397f 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -394,10 +394,11 @@ sub package_links { } if ($has_options) { push @links, - munge_url('pkgreport.cgi?', + (munge_url('pkgreport.cgi?', %options, $t_type => $target, - ); + ), + $target); } else { push @links, ('pkgreport.cgi?'.$t_type.'='.uri_escape_utf8($target), @@ -502,7 +503,8 @@ sub bug_links { $_); } make_list($param{bug}) if exists $param{bug}; } else { - push @links, map {'bugreport.cgi?bug='.uri_escape_utf8($_)} + push @links, map {('bugreport.cgi?bug='.uri_escape_utf8($_), + $_)} make_list($param{bug}) if exists $param{bug}; } my @return;