about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwListing.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/WwwListing.pm')
-rw-r--r--lib/PublicInbox/WwwListing.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index 1faade6c..4f076b7d 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -32,7 +32,7 @@ sub list_all ($$$) {
 sub list_match_domain_i {
         my ($ibx, $arg) = @_;
         my ($list, $hide_key, $re) = @$arg;
-        if (!$ibx->{-hide}->{$hide_key} && $ibx->{url} =~ $re) {
+        if (!$ibx->{-hide}->{$hide_key} && grep($re, @{$ibx->{url}})) {
                 push @$list, $ibx;
         }
 }
@@ -90,7 +90,7 @@ sub ibx_entry {
   ${\$ibx->description}
 
         if (defined(my $info_url = $ibx->{infourl})) {
-                $tmp .= '  ' . $info_url . "\n";
+                $tmp .= '  ' . PublicInbox::Hval::prurl($env, $info_url) . "\n";
         }
         $tmp;
 }