about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/ManifestJsGz.pm4
-rw-r--r--lib/PublicInbox/WwwListing.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/ManifestJsGz.pm b/lib/PublicInbox/ManifestJsGz.pm
index 9dc10791..7fee78dd 100644
--- a/lib/PublicInbox/ManifestJsGz.pm
+++ b/lib/PublicInbox/ManifestJsGz.pm
@@ -13,11 +13,11 @@ use HTTP::Date qw(time2str);
 
 my $json = PublicInbox::Config::json();
 
-sub url_regexp {
+sub url_filter {
         my ($ctx) = @_;
         # grokmirror uses relative paths, so it's domain-dependent
         # SUPER calls PublicInbox::WwwListing::url_filter
-        ($ctx->url_filter('publicInbox.grokManifest', 'match=domain'))[0];
+        $ctx->SUPER::url_filter('publicInbox.grokManifest', 'match=domain');
 }
 
 sub inject_entry ($$$;$) {
diff --git a/lib/PublicInbox/WwwListing.pm b/lib/PublicInbox/WwwListing.pm
index 76c76663..98a69986 100644
--- a/lib/PublicInbox/WwwListing.pm
+++ b/lib/PublicInbox/WwwListing.pm
@@ -55,7 +55,7 @@ again:
         } elsif ($v eq 'all') {
                 (qr/./, undef);
         } elsif ($v eq '404') {
-                undef;
+                (undef, undef);
         } else {
                 warn <<EOF;
 `$v' is not a valid value for `$key'