]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: fix short followup links
authorEric Wong <e@80x24.org>
Thu, 27 Aug 2015 07:21:00 +0000 (07:21 +0000)
committerEric Wong <e@80x24.org>
Thu, 27 Aug 2015 07:21:00 +0000 (07:21 +0000)
This was broken by commit 9a2931759c3dcbd879728b49151aa3f8a641b506
("wire up to display non-suffixed Message-ID links")

lib/PublicInbox/View.pm

index 8ccdcfaf007bc9daa7561a51beea9b351e72744b..51fee0467c2fa6748dafe969be8fa5a8677bc708 100644 (file)
@@ -511,7 +511,7 @@ sub simple_dump {
                        my $m = PublicInbox::Hval->new_msgid($mid);
                        $f = PublicInbox::Hval->new($f);
                        $d = PublicInbox::Hval->new($d);
-                       $m = $m->as_href . '/';
+                       $m = '../' . $m->as_href . '/';
                        $f = $f->as_html;
                        $d = $d->as_html . ' UTC';
                        if (length($s) == 0) {