about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/View.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 946df37f..660447dd 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -473,6 +473,7 @@ sub html_footer {
         my $srch = $ctx->{srch} if $ctx;
         my $idx = $standalone ? " <a\nhref=\"../../\">index</a>" : '';
         if ($idx && $srch) {
+                $mid = mid_compress(mid_clean($mid));
                 my $t_anchor = defined $irt ? T_ANCHOR : '';
                 $irt = $mime->header('In-Reply-To');
                 $idx = " <a\nhref=\"../../t/$mid/$t_anchor\">".