]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/CGI.pm
we don't necessarily need to deparse the email address for pkg links
[debbugs.git] / Debbugs / CGI.pm
index 94669d4823865504530dbef0d1ccdbe95675064e..7cc7f4166481335a7d9a6c6fda95b0f2fe694602 100644 (file)
@@ -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),
@@ -408,8 +409,6 @@ sub package_links {
      for my $type (qw(maint owner submitter correspondent)) {
         next unless exists $param{$type};
         for my $target (make_list($param{$type})) {
-            my $addr = getparsedaddrs($target);
-            $addr = defined $addr?$addr->address:'';
             if ($has_options) {
                 push @links,
                     (munge_url('pkgreport.cgi?',